John Dennis Casey
2c80da6ba4
Resolving: MNG-482
...
To use the new artifact map for either the project or the current plugin from your mojo, simply use one of the following expressions:
${plugin.artifactMap}
${project.artifactMap}
The artifacts in these maps are keyed using org.apache.maven.artifact.ArtifactUtils.versionlessKey( String groupId, String artifactId ) (found in the maven-artifact project).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219234 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 19:04:20 +00:00
John Dennis Casey
ca59227be1
Working on: MNG-377
...
o Added maven-plugin-mapping project to handle repository metadata that contains prefix-to-artifactId mappings for groups of plugins
o Added builder classes for plugin mappings
o Modified maven-artifact and maven-artifact-manager to handle the concept of repository metadata in addition to artifact metadata.
o Added pluginGroups section to settings.xml, new code to merge these lists of plugin groups, and a unit test to ensure that this merge is taking place properly.
o Added maven-plugin-mapping to dependencies of maven-core, along with the list of builds to be performed by mboot.
Should be ready to incorporate plugin mapping consultation into the lifecycle executor and the deploy mojo...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209550 13f79535-47bb-0310-9956-ffa450edef68
2005-07-07 00:17:37 +00:00
Emmanuel Venisse
17e3c742ee
[MNG-533]. Add pom.properties in generated artifact.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@202010 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 17:22:54 +00:00
Emmanuel Venisse
a029d766ce
Update all versions to beta-1-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@202001 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 15:29:14 +00:00
Emmanuel Venisse
5186fba565
rollback, it's download from remote repo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193181 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 16:23:07 +00:00
Emmanuel Venisse
0ad47b7cd1
Add core-it plugin in bootstrap
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193177 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 16:11:07 +00:00
John Dennis Casey
57795c4cc2
Adding back the marmalade projects.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193107 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 08:08:51 +00:00
John Dennis Casey
fcbc5e7d6f
Resolving: MNG-495
...
o Pressing [ENTER] at a plugin update prompt should result in the plugin being registered, as indicated by the prompt.
o Use CLI switch '--no-plugin-updates' to suppress usage of the plugin registry
o Use CLI switch '--update-plugins' to force updated/resolved plugin versions to be registered
o Neither of these has a short CLI option, since we're starting to run out of sensible char options for these types of things.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193082 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 06:03:10 +00:00
John Dennis Casey
6100b37321
Updating non-maven, non-modello deps to get rid of snapshots. Also removed marmalade stuff from mboot.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193052 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 02:31:28 +00:00
Emmanuel Venisse
94529a2bd8
format
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191646 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 10:13:27 +00:00
Emmanuel Venisse
64185c024a
maven-settings must be build before other projects
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191644 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 09:35:03 +00:00
Brett Leslie Porter
26d36d8959
PR: MNG-140
...
split artifact impl from api so that dep resolution can be used independently of wagon
only the first step in making maven-artifact more useful as a public api - more changes to be made
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191634 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 06:49:49 +00:00
Brett Leslie Porter
3e26e6ca55
add lifecycle mdo to booty
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191390 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 04:28:52 +00:00
Brett Leslie Porter
75c3b41c01
use latest modello for booty
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191382 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 03:18:55 +00:00
Brett Leslie Porter
ac2d8a7e83
PR: MNG-415
...
implement provided scope
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190930 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 15:02:07 +00:00
John Dennis Casey
b813c3d430
Working on issue: MNG-379
...
Added specified stop-gap patch for issue: MNG-473 (affects settings-builder and registry-builder)
Today I've made the following progress on this so far:
- Added a new project, called maven-plugin-registry, to house the model for this new file.
- Developed/debugged/tested PluginVersionManager/DefaultPluginVersionManager to isolate the plugin-version checks/management code away from the PluginManager
- Added interactiveMode (<interactiveMode>true|false</interactiveMode> directly under the root element of settings.xml, or -B short CLI option or --batch-mode CLI option, where the CLI options turn OFF interactiveMode). This will allow things like the maven-plugins build to register new plugins (and, for now, new versions of plugins) automatically.
- Added user input handler for when interactiveMode = true, to get a yes/no on whether to use the discovered version over the installed version and/or no version at all. If there is no installed version, and the user selects 'n', then the discovered version is used FOR THAT SESSION ONLY, and won't be recorded in the registry.
- Added checks/recording rejected versions against the registry, before attempting to use the discovered version.
Pending:
- Still need to add update-policies, to determine two things:
1. how often to check for updates
2. what to do when updates are found (autoUpdate, etc.)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190854 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 01:50:28 +00:00
John Dennis Casey
64ac374aea
Reordered builds to allow maven-profile and -settings to have a fresh maven-project when the local repo is erased.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190404 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 14:00:01 +00:00
Brett Leslie Porter
a91802d46d
PR: MNG-463
...
safety guard against bootstrapping with a Maven Home that is not empty, and not a previous Maven installation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189892 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 04:10:29 +00:00
Brett Leslie Porter
420d9a5fca
remove old cvs ignore files
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188697 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 05:24:51 +00:00
John Dennis Casey
9d7e54c042
o Added model and builder support for Profiles specified in settings.xml, profiles.xml, and the POM.
...
o Changed MBoot and Verifier accordingly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179233 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 16:24:34 +00:00
Emmanuel Venisse
4e6b33d359
o upgrade plexus-container to alpha-4-SNAPSHOT
...
o upgrade plexus-utils to alpha-3 until xpp stuff is fix in 1.0.0
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179122 13f79535-47bb-0310-9956-ffa450edef68
2005-05-30 18:24:32 +00:00
Brett Leslie Porter
17518785ac
upgrade to container with separated utils
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178995 13f79535-47bb-0310-9956-ffa450edef68
2005-05-29 22:55:12 +00:00
Brett Leslie Porter
0253ccc305
PR: MNG-164
...
Add Beanshell mojo support
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170608 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 15:11:41 +00:00
Brett Leslie Porter
05a35236a5
don't need to have it remotely if it is local, and don't care about updating legacy snapshots remotely anymore
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170539 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 08:05:13 +00:00
Brett Leslie Porter
7ed8a746d3
update to released versions
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169961 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 07:01:57 +00:00
Brett Leslie Porter
14b9e9f347
remove default plugin versions from super POM, rely on discovery of releases. Write out the current version during bootstrap to force its usage (unfortunately enforcing it on other installs, however...)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169484 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 15:04:06 +00:00
Emmanuel Venisse
b15610d406
Build maven-reporting-api before maven-core
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169380 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 23:30:07 +00:00
Brett Leslie Porter
0a7842482f
PR: MNG-372
...
Submitted by: Mark Hobson
Reviewed by: Brett Porter
deal better with spaces in paths on windows
(applied with modifications)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169184 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 22:50:01 +00:00
Brett Leslie Porter
d4c059226c
fix error handling when there is no active profile
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168624 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 15:47:28 +00:00
Brett Leslie Porter
840d963c03
always read settings.xml, even if maven.repo.local is given
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168297 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 07:45:42 +00:00
Brett Leslie Porter
678919ad40
PR: MNG-145
...
add mirror notation to settings, introduce to bootstrap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168282 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 06:24:07 +00:00
Brett Leslie Porter
4cc4b13a97
exclude reporting manager for now - should probably be removed
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168130 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:06:56 +00:00
Brett Leslie Porter
d3c02d1760
use the correct resolved version for a dependency even if it was previously downloaded.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168129 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:03:03 +00:00
Brett Leslie Porter
49eb3eb8f0
destinationFile was not necessarily the resultant file in the parent method. Check the return status instead
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168123 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 13:42:51 +00:00
Brett Leslie Porter
1c66f2d06f
make snapshot download behave more like maven-artifact
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168078 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 05:46:13 +00:00
John Dennis Casey
690bc67fb9
Added marmalade support back in...it's currently still using the libraries-shovelled-into-core method, but it now uses the new mojo mechanism that uses plexus ComponentConfigurators...had to make the lookup for configurators dynamic for the DefaultPluginManager, too.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168064 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 03:28:41 +00:00
Emmanuel Venisse
935e3577e6
Add reporting api and manager
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165244 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:36:33 +00:00
John Dennis Casey
f5cd6adbe7
Cleaning up errors I introduced with search-and-replace, and with marmalade scripting support. I'm marking marmalade support out for now, until I can get that stuff dragged back into the present.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165242 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:29:04 +00:00
Brett Leslie Porter
3f5d831fc6
make debug compiling the default
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164740 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 04:31:47 +00:00
Brett Leslie Porter
657fde08f4
exclude svn directories in mboot
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164393 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 15:20:57 +00:00
Brett Leslie Porter
23835350c8
fixes related to changing the path of parent poms, though the actual functionality is not implemented
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164346 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 06:24:08 +00:00
Brett Leslie Porter
0aeab76ac3
fix order
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164235 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 13:06:17 +00:00
Brett Leslie Porter
e313416d63
separate maven-project code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164217 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 11:01:33 +00:00
Brett Leslie Porter
4fe1c64276
clean up exception handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163978 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 04:16:11 +00:00
Carlos Sanchez Gonzalez
6c32a0653c
Fix issue when JAVA_HOME contains spaces
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163960 13f79535-47bb-0310-9956-ffa450edef68
2005-04-16 04:16:29 +00:00
Brett Leslie Porter
67f2147deb
shouldn't check timestamp at all
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163959 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 12:44:05 +00:00
Brett Leslie Porter
e2c9a495e7
be more forceful on the no-cache
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163958 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 12:35:21 +00:00
Brett Leslie Porter
8f0d5c7ac6
never use cache
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163956 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 12:06:11 +00:00
Brett Leslie Porter
86536e319f
turn off caching in mboot for snapshot version files
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163940 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 12:32:26 +00:00
Brett Leslie Porter
d5be37cf00
PR: MNG-232
...
resolve snapshots in bootstrap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163931 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 07:03:18 +00:00