Commit Graph

1519 Commits

Author SHA1 Message Date
Jason van Zyl 9a2c66dde1 o remove duplicate signature from the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751492 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 18:22:23 +00:00
Jason van Zyl 600dab7b1d o kill imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751461 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 16:27:59 +00:00
Jason van Zyl 3ef5e97f42 o reduce the foot print of the plugin manager, the interaction between the lifecycle executor and plugin manager is far too intimate
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751459 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 16:25:35 +00:00
Jason van Zyl 29a95ef261 o inject a logger, remove AbstractLogEnabled
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751458 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 16:21:32 +00:00
Jason van Zyl 41df8abcf8 o branch for my simplification of the lifecycle executor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751454 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 16:14:26 +00:00
Jason van Zyl b68c9f9231 o shortening the interface name for the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751196 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 05:08:43 +00:00
Jason van Zyl 30e6002f40 o push out the artifact repository creation when it's requested in the project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751159 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 01:05:17 +00:00
Jason van Zyl 410e6cab4b o reducing the signature size of the repository system some more
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751104 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 22:14:08 +00:00
Jason van Zyl c04ee12962 o notes for oleg about what's left to remove from the repository interface
o more cleanup 


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751091 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 21:54:23 +00:00
Jason van Zyl c67176f502 o remove another set of methods from the repository system interface and now ResolutionGroup is gone from Maven internals.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751083 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 21:37:07 +00:00
Benjamin Bentmann a3a2e77da3 o Fixed NPE due to uninitialized field
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751046 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 19:30:22 +00:00
Jason van Zyl 5678f17198 o nuke another big chunk of the old code, looking for available versions is used internally and once all the methods are shed we'll supply a pure metadata resolution for clients, like IDEs, that need to nicely show versions. we'll also provide a graph too so people aren't going to have to do all the extra crap to get decent information.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751036 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 18:57:41 +00:00
Jason van Zyl c586c81065 o remove the build planner from visibility
o fix a method in the project builder to protect against an error coming from the remote resources plugin, it's asking to resolve a POM from a JAR artifact and the old project building code was doing that for whatever not-right reason


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751021 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 18:20:52 +00:00
Jason van Zyl 1720377f1d o don't need the component descriptor for the PluginRepository as it doesn't exist anymore
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750775 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 05:48:49 +00:00
Jason van Zyl 1ffdc9286a o start the grand plugin refactoring, just putting it all together in addition to putting all the repository/artifact calls
behind the repository system you can see project and plugins being processed an incredible number of times and the recursion
  in the collector is broken causing POMs for plugins to be processed hundreds of times. The bootstrap under profiling reveals
  the xpp3 parser being used almost 30k times which is pure insanity.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750774 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 05:38:48 +00:00
Jason van Zyl b9f9244f5f o fixed mirror code
o more plugin manager wrangling


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750568 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 19:59:06 +00:00
Benjamin Bentmann 650ca3978a o Added debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750493 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 16:19:21 +00:00
Jason van Zyl 4f5efdb3de o get rid of extraneous logging bits
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750395 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 09:15:48 +00:00
Jason van Zyl 7d14e6b520 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750361 13f79535-47bb-0310-9956-ffa450edef68 2009-03-05 07:54:36 +00:00
Jason van Zyl 04998877df git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750354 13f79535-47bb-0310-9956-ffa450edef68 2009-03-05 07:35:00 +00:00
Jason van Zyl 3a2b747af0 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750351 13f79535-47bb-0310-9956-ffa450edef68 2009-03-05 07:19:44 +00:00
Jason van Zyl 3efeef0d89 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750346 13f79535-47bb-0310-9956-ffa450edef68 2009-03-05 07:11:59 +00:00
Jason van Zyl 8e7e771f81 o more plugin manager refactoring
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750343 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 06:56:41 +00:00
Jason van Zyl 74b14a5953 o use the custom settings for now
o pushing everything related to the plugin manager into one package in preparation for replacement with the plexus plugin manager


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750308 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 04:02:23 +00:00
Jason van Zyl 1a05bdac38 o use the repositories passed into the request
o make sure that mirrors are processed correctly in that the mirror that is defined must use the layout and policies of the repository it is mirroring


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750251 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 00:15:56 +00:00
Jason van Zyl 83720e04ca o use the remote repos processed by the request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750152 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 20:53:37 +00:00
Britton Isbell b746b13a69 Removed report method.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750149 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 20:45:05 +00:00
Britton Isbell 4af4093d4c Remove dup code for profile creation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750144 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 20:33:54 +00:00
Benjamin Bentmann 96c06c4f1b o Added back some code to actually throw exceptions and abort the normal control flow in case artifact resolution fails
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750029 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 14:51:24 +00:00
Benjamin Bentmann 374ef3a15b o Fixed resolution of project dependencies for plugin execution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749974 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 12:12:45 +00:00
Jason van Zyl beedf0cf7b o restore profile manager location so that the site plugin works ...
o teach the resolution to understand when the root is local with a file present versus retrieving the root as well          


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749924 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 06:58:09 +00:00
Jason van Zyl 3d883f3a9f o inject the logger
o formatting

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749825 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 23:07:51 +00:00
Jason van Zyl 914d340b45 o use released model-builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749815 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 22:52:39 +00:00
Jason van Zyl 141083a2ae o place execute method first
o inject the logger


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749807 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 22:36:48 +00:00
Jason van Zyl a5fc1cfb14 o fix the mirroring code
o restore ArtifactResolver.resolve( artifact, remotes, local ) for the rr plugin


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749784 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 21:56:42 +00:00
Jason van Zyl 3b31023865 o if there was no metadata resolved then don't try to resolve artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749535 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 05:35:38 +00:00
Benjamin Bentmann ed6f76548b o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749482 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:00:40 +00:00
Jason van Zyl 613253dda7 o trying to use the request/result pattern everywhere
o remove another use of ResolutionGroup in the core
o remove all the deprecated methods in the resolver, we'll see what breaks and we'll restore in maven-compat


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749407 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 18:42:31 +00:00
Herve Boutemy c5571a0c78 used http://maven.apache.org/xsd/* for schema location
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748982 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 08:55:40 +00:00
Britton Isbell b487a2fd45 Moved profile classes into main project package.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748889 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 17:26:56 +00:00
Benjamin Bentmann af31b86868 [MNG-4057] Propose checking of plugin artifact when plugin descriptor cannot be found
o Merged from r748815

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748820 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 11:18:41 +00:00
Britton Isbell 7040079ca9 Replaced the old profile injector code with new profile code. Merged project builders.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748609 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 17:28:54 +00:00
Britton Isbell c002a8d22e Removed remaining activator interfaces and uses.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748216 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 17:28:25 +00:00
Oleg Gusakov 4e9c3171cb got rid of project in the API layer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748017 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 05:04:07 +00:00
Jason van Zyl f2d3908905 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747888 13f79535-47bb-0310-9956-ffa450edef68 2009-02-25 18:28:39 +00:00
Jason van Zyl 4aea96aeb2 o use the artifact resolution request/result method to remove another couple methods from the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747658 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 04:55:59 +00:00
Jason van Zyl 00c302e021 o checking in so that oleg and shane can see the changes, there are three failing tests. i'm fixing in the plane and will check in when i land
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746850 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 00:04:14 +00:00
Benjamin Bentmann dee79ea2dc o Fixed dependency resolution (the dependency artifacts are cached so we can't employ the scope filter here)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746818 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 21:00:18 +00:00
Jason van Zyl b4257bad3b o use RepositorySystem and LegacyRepositorySystem
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746432 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 03:22:21 +00:00
Jason van Zyl 41001b509d o removed all but one component reference of the legacy artifact code in the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746430 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 02:46:14 +00:00
Jason van Zyl db63dc78c0 o taking more legacy artifact components out of the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746336 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 18:52:57 +00:00
Britton Isbell c327c94443 Refactored out more uses of modello and moved classes from maven-project to maven-project-builder. Doing this so that maven-mercury will not have direct dependency on modello or maven model.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746002 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 21:22:46 +00:00
Britton Isbell 73c0f41e3b Collapased Transformers into one. Extracted out some rules. Removed some references to Maven model in DomainModels to generalize. Removed Plugin mixins, which are no longer needed. Extension loading appears to be broken from refactoring. Need to fix this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745712 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 03:00:52 +00:00
Herve Boutemy 3d52a23b10 o upgraded Modello version to 1.0
o improved models to use Modello new features (merged from 2.1.x branch r745216)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745260 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 21:46:38 +00:00
Britton Isbell 759769900d [MNG-4035] - Removing plugin manager changes. This is breaking tycho build and also causes a hefty performance hit. Using mixins is over-generalizing this solution. Only need to cleanup config merging.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745040 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 13:13:49 +00:00
Britton Isbell 0abb04c8bb [MNG-3631] Mojo Configuration. Allow embedder to get executions by goal, query config with xpath and execute mojo.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@744145 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 15:39:54 +00:00
Oleg Gusakov e07ccacaf2 [MNG-4033] found more appropriate injection point for password encryption
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743947 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 01:38:15 +00:00
Herve Boutemy dc29595f98 fixed coding style
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743918 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 22:58:36 +00:00
Oleg Gusakov 9f80bf1e63 [MNG-4033] migrated password encryption from 2.1.x trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743914 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 22:44:08 +00:00
Oleg Gusakov b88e78ae1d [MNG-4033] migrated password encryption from 2.1.x trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743913 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 22:43:32 +00:00
Oleg Gusakov 9737a2f1d9 [MNG-4033] migrated password encryption from 2.1.x trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743912 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 22:42:53 +00:00
Britton Isbell 9863957196 [MNG-3862] Remove all plugin configuration manipulation from the plugin manager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743225 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 04:56:35 +00:00
Jason van Zyl 50dc057e54 o getting rid of ID tags, diffs in non-svn tools are not _exactly_ the same. i like seeing the authors, i can look in subclipse to see the detailed list of changes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@742665 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 18:24:39 +00:00
Britton Isbell cb077dc469 MNG-3919: NPE in DefaultLifecycleBindingManager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@740468 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:50:27 +00:00
Britton Isbell d1124333ad Merge: sisbell-plugin-manager. MNG-3631 - Get plugin config, including mojo descriptor info.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739970 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 12:02:44 +00:00
Benjamin Bentmann 7397cc69d6 [MNG-3951] Hide drive-relative paths from plugins
o Merged from r739385

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739735 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 10:44:19 +00:00
Jason van Zyl ed4f594ac4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739478 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 01:06:48 +00:00
Jason van Zyl 13fa00ea3f [maven-release-plugin] prepare release maven-3.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739476 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 01:06:37 +00:00
Jason van Zyl 557f0a5373 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738777 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 07:13:04 +00:00
Jason van Zyl 7f54cfff61 [maven-release-plugin] prepare release 3.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738775 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 07:12:48 +00:00
Jason van Zyl cfbcba22a8 MNG-3586: system scope is working again, the IT does not appear to work on OS/X. Both 2.0.9 and this snapshot fail the first test of the IT. Brian helped me verify and on Windows with 2.0.9 and this snapshot both tests pass.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@732929 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 05:34:14 +00:00
Jason van Zyl 481cde5756 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731333 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:59:28 +00:00
Jason van Zyl 6991c79e34 [maven-release-plugin] prepare release maven-3.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731331 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:59:05 +00:00
Jason van Zyl 1b59d7556f o note in the settings.mdo file about the release plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731275 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:36:11 +00:00
Jason van Zyl 80a6a03dd6 o get rid of debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731274 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:32:55 +00:00
Jason van Zyl bfe3cbf4e9 o the release plugin manages to somehow get its own instance of a Settings so the SettingsAdapter which I use everywhere else gets used except in the release plugin so I have to jack back in the hardcoded RuntimeInfo until I figure out why. not a big deal, i'll list it in the compatibility notes. on another note if you start the release process using release:prepare and it fails, you make code changes, it will happily let you continue and not check the status again.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731273 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:32:19 +00:00
Jason van Zyl cc38a455f7 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731271 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:29:07 +00:00
Jason van Zyl bab3480d4b [maven-release-plugin] prepare release 3.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731269 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:28:42 +00:00
Benjamin Bentmann 970065b4bd [MNG-3424] Respect ordering of elements as given in POM
o Merged from r708871

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@730079 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 09:33:02 +00:00
Benjamin Bentmann 2bbb812470 [MNG-3451] [MNG-3790] German localization for maven-core
Submitted by: Christian Schulte

o Applied with minor modifications
o Merged from r727998

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728001 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 10:57:30 +00:00
Jason van Zyl 7d3040a73e o collapsing more of the project builder, trying to turn it back into one component -- we have the old and the new with the old wrapper the new -- so that I can have an interface for compatibility and then all our new stuff in another component.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727299 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 06:27:16 +00:00
Herve Boutemy 48d853ad6e [MNG-3898] use models attribute of modello-maven-plugin instead of model (merged from 2.0.x branch r726548)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726552 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 22:07:08 +00:00
Benjamin Bentmann c1498641cc o Fixed doc about command to get help output from CLI (merged from r726541)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726545 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 21:50:39 +00:00
Jason van Zyl 6d5eab14f6 o remove aspectj
o update compat log with CLI changes
o update everything to release versions, we have no snapshots anymore


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726521 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 19:51:59 +00:00
Vincent Siveton 3d112fe2d2 o merged from r726420 (specify unique namespace)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726422 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 12:49:15 +00:00
Jason van Zyl ea43792cf2 MNG-3905 First pass at collecting all the repository related code and started to decouple from maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726383 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 06:24:01 +00:00
Jason van Zyl abd5d033d6 o make sure there is an empty list for the plugin groups, the prefix loader needs it and was expecting it coming from the settings.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726351 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 04:02:36 +00:00
Jason van Zyl ca09b406af o use the new separated interpolator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726237 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 17:19:04 +00:00
Jason van Zyl e02b6e7005 o get rid of more Settings references beyond the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726164 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 03:17:35 +00:00
Jason van Zyl 153e69973d o get rid of dead logging constants
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726158 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 02:52:14 +00:00
Brett Leslie Porter 87e5a9acf3 guard against NPE when the exception was dumped
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@725563 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 03:34:52 +00:00
Jason van Zyl 845dfab57c o opening up access to the exclusion filters for tycho
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@724386 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 15:56:26 +00:00
Jason van Zyl 5b1426a881 o i didn't update the maven-shared-model correctly, revert
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@724213 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 21:54:10 +00:00
Jason van Zyl a0e4a63d08 o update to API change in maven-shared-model
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@724211 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 21:44:09 +00:00
Jason van Zyl 25f28a2bcd o adding the maven-compat module to the artifacts to filter out. fixes the last problem with the tycho build.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@724157 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 16:46:34 +00:00
Benjamin Bentmann ba371df6c8 o Stabilized build
maven-core> mvn dependency:tree

[INFO] [dependency:tree]
[INFO] org.apache.maven:maven-core:jar:3.0-SNAPSHOT
[INFO] +- org.sonatype.plexus:plexus-plugin-manager:jar:1.0-SNAPSHOT:compile
[INFO] |  +- org.apache.maven:maven-mercury:jar:3.0-SNAPSHOT:compile

but yet

{java] [INFO] Reactor Summary:
[java] [INFO] ------------------------------------------------------------------------
[...]
[java] [INFO] Maven Core ............................................ FAILED [14.024s]
[...]
[java] [INFO] Maven Mercury ......................................... NOT BUILT
[java] [INFO] ------------------------------------------------------------------------

whatever maven-mercury is used to build maven-core, it's not the one from the current build...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@723126 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 23:23:52 +00:00
Jason van Zyl 2911344c19 o fix xml comments
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721743 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 00:00:18 +00:00
Jason van Zyl 829ddb2170 o separate out all artifact handlers and lifecycles from the core components
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721738 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 23:23:40 +00:00
Benjamin Bentmann 4f4358ee02 o Updated method signatures due to r721715
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721716 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 20:54:28 +00:00
Jason van Zyl d212f9e2b6 o remove the artifact handlers out of the main components file, they can be merged now. need to quickly move to the point where all component metadata for wiring is generated so that we can move toward analysis of the annotations at runtime. we also need the configuration source way of pulling in component configuration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721694 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 17:24:04 +00:00
Jason van Zyl a10faccdfc o get rid of debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721647 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:46:52 +00:00
Jason van Zyl c889d7266d o adding container requirement to descriptor to remove the contextualize phase
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721643 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:37:07 +00:00
Britton Isbell 7b974639d5 Throw illegal argument, not NPE.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721640 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:27:02 +00:00
Jason van Zyl a455a47fcc o get rid of references to the javadoc annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721634 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:05:16 +00:00
Jason van Zyl 109c39d818 o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721633 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:03:15 +00:00
Jason van Zyl 97648c35a1 o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721632 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 05:02:59 +00:00
Jason van Zyl 5f47bbea7f o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721631 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 04:57:52 +00:00
Jason van Zyl 26b3be2096 o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721630 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 04:56:28 +00:00
Jason van Zyl 4b7261681d o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721629 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 04:55:55 +00:00
Jason van Zyl 89b760d659 o use annos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721628 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 04:55:08 +00:00
Jason van Zyl 8cdb47ab05 o annos work now, we needed to differentiate between classes in jars and in your project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721627 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 04:54:23 +00:00
Jason van Zyl 44bcc2f5e8 o adding back in annos to a test class for eu
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721615 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 02:40:17 +00:00
Jason van Zyl 8d32719c39 o convert as much as i can in maven-core to use the annotation processor. it revealed a bug where given certain circumstances
if a component was a requirement it prevents the actual component descriptor for that requirement to be output. worked
  around that by using the javadoc annotations on 5 problem classes. i'll fix the processor before converting the rest.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721606 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 01:36:23 +00:00
Jason van Zyl 5b39f3ed58 o start separating out the artifact handlers as these can now be found dynamically in their respective plugins when the plugin is loaded.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721577 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 22:14:54 +00:00
Jason van Zyl 58c23ba20f o use annos for DefaultRuntimeInformation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721574 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 22:09:38 +00:00
Jason van Zyl 3ce3ccdf59 o unused imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721571 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 22:04:22 +00:00
Jason van Zyl 49299ed42b o using annotations for DefaultMaven, remove hand-made entry
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721569 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 22:02:44 +00:00
Jason van Zyl 5f268ca18a o javadoc for the extension listener
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721568 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 22:00:35 +00:00
Jason van Zyl aba2b12837 MNG-3876: Add in the maven-artifact code so we can start creating facades and back it with mercury
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721307 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 22:32:16 +00:00
Jason van Zyl 39757352e6 o fix my hardcoding
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720527 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 16:18:48 +00:00
Jason van Zyl 38029c20e2 o adding missing model extensions i added
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720525 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 16:13:29 +00:00
Jason van Zyl c418d12814 o primarily refactoring in part for the preparation making room for mercury and processing events from maven-shared-model
o add plexus component descriptor generation to the bootstrap so we can start removing the hand-written descriptors and start
  using annotations everywhere



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720432 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 07:11:35 +00:00
Benjamin Bentmann d486ebbe5c [MNG-3664] Various unit tests from maven-core fail when run from a directory with space in its path
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720050 13f79535-47bb-0310-9956-ffa450edef68
2008-11-23 21:42:00 +00:00
Benjamin Bentmann 4310dd2c51 [MNG-3544] Beautify debug output for mojo parameters of type array
o Merged r720042 from maven-2.0.x

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720045 13f79535-47bb-0310-9956-ffa450edef68
2008-11-23 21:17:34 +00:00
Benjamin Bentmann 9811be2c3e [MNG-3787] Add plugin version to default reports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720001 13f79535-47bb-0310-9956-ffa450edef68
2008-11-23 16:09:58 +00:00
Britton Isbell 7368eb1216 Moved out specialized methods from PomClassicTransformer to ProjectBuilder. Did this refactoring to make it easier to merge PomTransformer and PomClassicTransfomer.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719724 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 21:50:31 +00:00
Britton Isbell c26b2d69cd Merge of sisbell-maven-3.0-mercury branch to trunk. Includes maven-project-builder component, which breaks out some of the independent project builder classes, so that Mercury does not need to pull in the entire trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719472 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 04:49:46 +00:00
Britton Isbell 6a1f04705c Moved PathTranslator back to project module to fix class reference issue with the enforcer plugin. Added a preprocess method on the ModelTransformer to allow processing of plugin config elements. Need to add information about which elements are collections so they are not lost during a sort.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719406 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 22:19:34 +00:00
Jason van Zyl 17d68dbce5 o adding some patches for changes in plexus
submitted by: Dain Sundstrom


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718845 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 02:31:49 +00:00
Jason van Zyl f88b524249 o using thread local lookup setting the realm to null once it's done its work with the plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718656 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 17:17:26 +00:00
Jason van Zyl 56986ca004 o use the class lookup method which will now automatically partition lookups based on the class
submitted by: Dain Sundstrom



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@717964 13f79535-47bb-0310-9956-ffa450edef68
2008-11-16 02:38:13 +00:00
Benjamin Bentmann 378ee24d22 [MNG-3797] RealmUtils.create*Id() does not properly separate multiple threads
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@714067 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 16:49:04 +00:00
Benjamin Bentmann 4378d40c7b [MNG-3813] Plugin class path does not respect ordering of plugin dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713438 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 17:53:24 +00:00
Benjamin Bentmann 57171cb4aa [MNG-3503] Shade MX* classes from plexus-utils
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713202 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 22:34:59 +00:00
Benjamin Bentmann 30f86cb7c8 o Added svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713050 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 14:37:26 +00:00
Benjamin Bentmann cd04c1d85a o Set svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713049 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 14:35:30 +00:00
Britton Isbell e96229a165 Reverting back changes. It's building locally but breaking on Hudson.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@706231 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 11:06:03 +00:00
Britton Isbell d733885e54 Hooked up maven-project-builder into build. Updated classes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@706143 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 07:57:44 +00:00
Britton Isbell 7c54aada90 Fix: IT 3746, 102, 0043 - Merged out some previous changes to PluginParameterExpressionEvaluator.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@704797 13f79535-47bb-0310-9956-ffa450edef68
2008-10-15 06:57:37 +00:00
Jason van Zyl a2f245109b o revert my ordering, i'll have to investigate why property set on the CLI which conflicts with an internal property still wins in 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701702 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 19:51:42 +00:00
Jason van Zyl 4770c52af5 o make sure that the execution properties that are taken from the CLI are processed before anything else
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701694 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 19:20:15 +00:00
Jason van Zyl f4de864984 o restore the getApplicationVersion() method which is use by eclipse:eclipse
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701693 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 19:19:41 +00:00
Jason van Zyl 9a02f5a1ec o placing a hard coded version in the event the pom.properties can't be found. for debugging inside m2e i can live with this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701665 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 16:33:36 +00:00
Jason van Zyl fa17cae65a o be more lenient when looking for the properties file. in my case i am debugging completely from the eclipse workspace and i don't want to have to produce the JAR everytime i want to execute maven. these properties files should be created as part of the generate resources phase and not buried in the maven archiver and performed during JAR production. bad mixing of concerns.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701663 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 16:30:55 +00:00
Britton Isbell d17fd4ca86 Fix for IT0096, IT0097. Now checking session to see if plugin is part of reactor before trying to resolve it.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701563 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 23:06:25 +00:00
Jason van Zyl 556254c8c3 MNG-3653/MNG-3677: restored property file nabbing from the core JAR, and reworked the runtime component to be more general and used it from the CLI
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701264 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 22:36:41 +00:00
Jason van Zyl d06897e91c MNG-3637: making sure it says we fail when we fail
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701228 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 19:52:53 +00:00
Britton Isbell 9220e682ec Remove model cloning.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@700325 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 01:58:20 +00:00
Britton Isbell 3af42c2f05 Removed unneeded class/methods related to extension scanner.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@700300 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 23:02:15 +00:00
Britton Isbell 534b660b4e Removed extension scanner. It was tied up into the old model lineage code, which is very buggy. Needs to be reimplemented.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@700226 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 19:51:10 +00:00