Commit Graph

7422 Commits

Author SHA1 Message Date
Britton Isbell bbf61a46f8 Check to see if it is pom before parse.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769177 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 21:50:00 +00:00
Jason van Zyl 54d0418185 o push in changes to sync up with shane
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769031 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 15:43:01 +00:00
Jason van Zyl 2805dee2cf o trying to merge manually
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768842 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 00:43:53 +00:00
Jason van Zyl aafe040406 git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768839 13f79535-47bb-0310-9956-ffa450edef68 2009-04-27 00:16:42 +00:00
Jason van Zyl a14dd02e93 o more meshing of trunk and my branch, two tests that are out of sync
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768832 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 23:51:09 +00:00
Jason van Zyl 006b3cf25b o resetting plexus version, will turn them into integration tests now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768733 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 17:57:04 +00:00
Jason van Zyl 04760f2e69 o remove debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768725 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 16:43:35 +00:00
Jason van Zyl 3d0338e0ea o remove debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768724 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 16:41:46 +00:00
Jason van Zyl d94c0e791a o get rid of debug output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768722 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 16:39:27 +00:00
Jason van Zyl 755afec417 o the component discovery is not exposed outside the plexus core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768721 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 16:34:19 +00:00
Jason van Zyl 5d7758b358 o pull from trunky dunk dunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@767707 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:04:06 +00:00
Jason van Zyl 822f348c93 o making sure everything is in before merging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@767358 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 03:34:00 +00:00
Jason van Zyl 8e108fd91a o roll up all the plugin manager capability into one class. having a manager, a component discoverer, and component discovery listener is too complicated.
o using the a looking to set the discoverer and discovery listener. in plexus this can be rolled into one extender



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@762142 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 19:55:14 +00:00
Jason van Zyl 35e429067e o remove the group metadata processing bound to the legacy artifact system. a plugin manager will be responsible for creating any hints it may want to use. it's general preproccesing which could be anything. for our implementation we can just read the files directly if necessary. we can also simplify the deployment of hinting information as well.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@761021 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 19:32:05 +00:00
Jason van Zyl e6f5b72ffe o nuke the path translator from the plugin manager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@761017 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 19:09:55 +00:00
Jason van Zyl 5d139ffd51 o collapse methods which deal with project dependency downloading, this needs to be removed from the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760977 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 17:34:59 +00:00
Jason van Zyl f0d253b643 o aligning the plugin parameter expression evaluator with the new test code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760975 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 17:32:18 +00:00
Jason van Zyl e3061a4bda o remove the interpolation as that will be handled by the project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760776 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 04:07:59 +00:00
Jason van Zyl 1f6c459fae o trying to isolate the plugin dependency downloading from the project dependency downloading so that I can separate it out of the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760775 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 04:01:49 +00:00
Jason van Zyl 1480e5cba4 o another pass at the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760747 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 00:36:02 +00:00
Jason van Zyl 1ce1debe96 o change signature to have the session first
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760723 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 23:13:12 +00:00
Jason van Zyl a8d2eee331 o collapse signature of the executeMojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760719 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 23:04:43 +00:00
Jason van Zyl 46c8c09a91 o the session has no lookup or access to the container now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760333 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 04:59:06 +00:00
Jason van Zyl d9ac548e59 o inject the logger
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760303 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 03:34:13 +00:00
Jason van Zyl 453781bc67 o the reporting api and toolchain are not required in the core as they will be loaded correctly as needed.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760279 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 00:44:18 +00:00
Jason van Zyl 55101a5368 o use the staged remote resources plugin version 1.1 so I'm not bound to the maven-reporting-api. all is good now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760278 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 00:42:21 +00:00
Jason van Zyl 85727cec05 o need a runtime dependency on maven-toolchain to execute plugins in tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759825 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 01:17:57 +00:00
Jason van Zyl 85b07ea000 o remove dead testing class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759819 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 01:13:40 +00:00
Jason van Zyl d22c870e02 o coming close to something i can easily test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759818 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 01:11:02 +00:00
Jason van Zyl 4f4b793d93 o remove all traces of reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759554 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 19:03:45 +00:00
Jason van Zyl 44003021ea o removing reporting completely
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759553 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 19:02:58 +00:00
Jason van Zyl 7d358ccdd6 o remove plexus utils check, plugins will be released correctly
o the reactor will become a local repository implementation so no weird checks for artifacts in the reactor


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759546 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:38:32 +00:00
Jason van Zyl 02265b1ef5 o take the reactor manager out of more signatures, it's contained in the session so we don't need to pass around both
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759545 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:30:22 +00:00
Jason van Zyl ace08b348d o separated the sorter out of the reactor manager in preparation for making the reactor just an implementation of a local repository. shouldn't be tangled with sorting, that should be done before anything starts
o adding test poms for plugin manager and lifecycle executor
o separate out base alignment test
o notes on the lifecycle executor and plugin manager


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759542 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:24:05 +00:00
Jason van Zyl 723d9463ef o get rid of monitor directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759541 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:21:07 +00:00
Jason van Zyl 9e65d584b4 o move the DefaultLog into the plugin module with the rest of the plugin API, package is the same and it's only used from inside the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759539 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:18:02 +00:00
Jason van Zyl 505423e666 o remove eventing which was scattered all over the place, all move it all into the session and use the eventing model pattern oleg used for mercury.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759536 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:12:57 +00:00
Jason van Zyl 5b7c683bf4 o condense constructors and get rid of fields that were only used for testing, now the session creation of localized and the tests use a proper request which the session can delegate to
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759513 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 17:24:50 +00:00
Jason van Zyl 9ed0e15d31 o get rid of dead MavenSession methods
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759511 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 17:19:32 +00:00
Jason van Zyl 6bcb9de387 o created a separate plugin manager test and we see where we've got some methods that don't belong in the lifecycle executor. need to move getMojoDescriptor to the plugin manager, just leave the parsing and construction of the lookup key in the lifecycle executor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759502 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 16:31:54 +00:00
Jason van Zyl 667378b8e4 o adding an abstract base class that i will use to test Maven, LifecycleExecutor, and PluginManager
o everything is going to use the MavenSession and i'll layer the execution requests so each component can be used and tested separately

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759497 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 16:17:30 +00:00
Jason van Zyl a5b9ba4c7d o setting up a base test i will use for all the core components
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@758314 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 15:48:51 +00:00
Jason van Zyl a5efa2c5f8 o finished a pattern for the testing of lifecycles, now it's time to create tests for the plugin manager and default maven component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@758309 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 15:40:52 +00:00
Jason van Zyl 52c9295a42 o i can now in a simple way get the lifecycle plan for a particular task
o the tests need to be simplified, possibly use the jxpath technique to make the test more concise
o the API still needs some work, and we still need to be able to adapt the lifecycle in context -- my particular use case is running inside eclipse and essentially disabling all but what is required to run inside eclipse. we don't need to compile, test or package for example 


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757922 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 17:45:00 +00:00
Jason van Zyl ace03b781b o hide the creation of default event dispatcher and reactor manager inside the session
o the lifecycle executor test is now starting to look sane


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757635 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 01:43:43 +00:00
Jason van Zyl c981673e9e o remove unused eventing code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757611 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 00:12:22 +00:00
Jason van Zyl 9d05d7a835 o removed deprecation as they are in the 2.1.x line so users will know before 3.0 comes out.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757606 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 23:57:01 +00:00
Jason van Zyl 43e21dd1a5 o add standard method for creating central in the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757602 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 23:39:58 +00:00
Jason van Zyl ef8a681a17 o notes on the sanitizing of the lifecycle executor api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757560 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 21:51:37 +00:00
Jason van Zyl 560d47dccb o trying to figure out what calls are most useful in something like m2e that is going to make a hyper-optimized lifecycle
based on what's required in the IDE versus the CLI


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757504 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 19:06:48 +00:00