Britton Isbell
abec748f23
Removed unused methods from ProjectBuilderConfig. Since we collapsed maven-project into maven-core, method not needed.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769957 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:52:56 +00:00
Britton Isbell
c0306a2ef4
Checking in work on populating plugins configs. Some problem with finding wagon for http protocol is causing build to fail.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769934 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:10:03 +00:00
Jason van Zyl
c89d8d495b
o more notes and waiting for shane to try this with the project builder decoupled
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769910 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 20:20:21 +00:00
Jason van Zyl
06c392092d
o remove the project builder from the plugin manager
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769906 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 20:08:15 +00:00
Jason van Zyl
b18a2fe51f
o the repository builder checks for the existence of that field but will fail gracefully
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769904 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 20:01:56 +00:00
Britton Isbell
a630ff99e2
Added in LifecycleExecutor to DefaultMavenProjectBuilder. This cause cyclical component dep.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769896 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 19:44:52 +00:00
Jason van Zyl
7c9cdbc071
o remove unrequired code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769877 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 19:03:24 +00:00
Jason van Zyl
942b1a3dc6
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769869 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 18:40:45 +00:00
Jason van Zyl
0d5dc4b4a3
o comment out plugin configuration merging code, this should all be handled by the pom builder now. none of this can happen in the plugin manager as its responsibility is purely executing plugins for the framework
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769860 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 18:06:28 +00:00
Britton Isbell
16fc5b6fd3
Moved the PomInterpolatorTag and Interpolator classes to package scope.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769859 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 18:04:44 +00:00
Jason van Zyl
10317e7c7c
o remove completed todos
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769858 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 18:00:57 +00:00
Jason van Zyl
453c10ac9f
o removing some more dead code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769857 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 18:00:15 +00:00
Britton Isbell
5a7ab7d748
Removed uses of interpolator property from the profiles. This was more of a convenience since InterpolatorProperty was used in multiple places. Not needed anymore.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769856 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 17:59:09 +00:00
Jason van Zyl
2fabaa365b
o changing signature to say exactly what it's doing
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769849 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 17:35:41 +00:00
Jason van Zyl
38bd51b1a7
o adding lifecycle methods to get the plugin for a packing in all lifecycles, this will interleave with the
...
project builder which will populate the versions specified in plugin management, and then another method
will retrieve and populate the default configuration information.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769847 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 17:34:01 +00:00
Jason van Zyl
3412a028c4
o update api, i need the project and local repository for now.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769846 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 17:33:05 +00:00
Britton Isbell
440b268447
Removed more references to ProjectUri. This is now an internal class in the interpolator package.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769841 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 17:20:47 +00:00
Britton Isbell
a6d2ac847a
Having a DomainModel interface doesn't makes sense in the current context. We no longer have general transforms.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769836 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 17:12:08 +00:00
Britton Isbell
baf09a4148
Cleanup of interpolator, removing references to PomClassicDomainModel, these aren't needed anymore.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769827 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 17:00:17 +00:00
Jason van Zyl
260db144b1
o formatting and note on where special properties should be injected.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769684 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 06:55:02 +00:00
Britton Isbell
a4be625de5
Using props directly for the interpolator.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769675 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 06:21:16 +00:00
Britton Isbell
da39be1957
Added in test resources from maven-project.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769664 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 05:20:38 +00:00
Jason van Zyl
54979b07e4
o collapsing maven-project into the core, it is now useless to anyone except maven, the maven-model-builder is now something that can be consumed by the outside world
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769652 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 04:45:20 +00:00
Jason van Zyl
3dea8abfb3
o expose method
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769642 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 03:59:10 +00:00
Jason van Zyl
6d229c8e46
o giving shane a handle on how to grab default plugin information as i've removed all the diddling in the plugin manager itself
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769637 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 03:45:42 +00:00
Jason van Zyl
e59d107cf1
o adding exception handling code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769609 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 01:19:19 +00:00
Jason van Zyl
0127ba0c14
o exception isn't stored yet
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769582 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 23:10:34 +00:00
Jason van Zyl
49c287754d
o pushing my changes back in with shane's
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769580 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 23:04:24 +00:00
Britton Isbell
c0d28d2ce4
Verify that plugin has version as precondition in PluginManager.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769560 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:52:43 +00:00
Britton Isbell
14b3573e79
Compile exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769552 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:34:36 +00:00
Jason van Zyl
00316c6362
o updating test to match
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769548 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:20:49 +00:00
Jason van Zyl
6bca21c4f8
o adding in all plugins in all the default lifecycles
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769547 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:20:36 +00:00
Jason van Zyl
1c94e8f911
o take away the merging and leave that to the builder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769465 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 17:04:19 +00:00
Jason van Zyl
d253679e62
o removing all configuration manipulation as that should be handled by the project builder.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769457 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 16:50:23 +00:00
Britton Isbell
c3715849bf
Default plugins.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769235 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 04:12:32 +00:00
Jason van Zyl
93e27192b7
o adding method to get a list of plugins that correspond to a lifecycle for configuration merging by the builder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769214 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 00:48:53 +00:00
Jason van Zyl
e10d95d4e1
o starting the simplification of the error reporting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769193 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 22:38:19 +00:00
Jason van Zyl
a0c50f8554
o restore start time
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769183 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 22:06:47 +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
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
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
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
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
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
Jason van Zyl
ecf09e66f5
o locate all repository related constants into the RepositorySystem
...
o add a method to the RepositorySystem for creating the default local repository
o make the test utils for the lifecycle executor use the createDefaultLocalRepository method to decouple from my home directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757464 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 17:38:44 +00:00
Jason van Zyl
881bebd552
o create some standard test tools for the lifecycle executor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757434 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 16:45:00 +00:00
Jason van Zyl
0a18feb00e
o the dispatcher is available in the session so remove the dispatcher from the signature of the lifecycle executor, now the
...
lifecycle execution only requires a session.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757426 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 15:58:03 +00:00
Jason van Zyl
6e199c648b
o inject the logger in the lifecycle executor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757296 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 01:40:38 +00:00
Jason van Zyl
f8ee09c8fa
o remove default reports from lifecycle executor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757294 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 01:29:45 +00:00
Jason van Zyl
7b6b911ed3
o lifecycle executor now strictly deals with plugins, and is 500 lines (still needs to be smaller) and is getting
...
a lot more efficient
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757293 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 01:27:27 +00:00
Jason van Zyl
1fa49f1ae0
o pairing down the lifecycle executor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757275 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 23:18:15 +00:00
Jason van Zyl
ac8db28f3b
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757141 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 07:39:57 +00:00
Jason van Zyl
70785ffebf
o remove Settings from the lifecycle executor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757129 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 04:56:10 +00:00
Jason van Zyl
cf2386359f
o no attempt should even be made to load a plugin descriptor again if for that gav it's been loaded, the plugin collector has the descriptor
...
as found in the plugin JAR and after first processing the artifacts and realm is created so nothing else needs to be done for the base, set
if plugin specific dependencies in the plugin are specified in a given project we'll wrap those, not recreate everything over again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757126 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:42:51 +00:00
Jason van Zyl
e3212b468c
o more organization in the plugin manager
...
o there seems to be an incompatible change between surefire 2.4.2 and 2.4.3 with the booter and the useManifestJar option
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757120 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:04:05 +00:00
Jason van Zyl
66d06cee8a
o more separation of plugins from reporting
...
o more sequencing of plugin resolution and execution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757109 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 00:13:42 +00:00
Jason van Zyl
0f70fd4a0f
o working creating a clean path of plugin resolution logic, and separting report processing from plugin processing
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757003 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 20:18:36 +00:00
Jason van Zyl
0bf25e64d8
o adjusting the internals to deal with root-based resolution
...
o gross hack to work around someone hardcoding a dummy:dummy root artifact in the surefire plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@756885 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 07:28:59 +00:00
Jason van Zyl
ecb1bfe2fd
o found another untested path way which i'll make another test for tomorrow. executing one mojos work, but when stringing
...
them together the optimization I'm trying to make for incremental support fails.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@753142 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 07:12:21 +00:00
Jason van Zyl
24139e8256
o cleaning up the lifecycle executor and error reporter
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@753053 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 23:27:54 +00:00
Jason van Zyl
39af2b8f7e
o bootstrap working on my branch with all the changes. i need to pull from trunk and spend a few more hours on adding tests that need to be written that never were. the
...
guts of the plugin manager and lifecycle executor internals are not really covered much.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751989 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 06:07:02 +00:00
Jason van Zyl
191aded423
o my test for executing a mojo in isolation is now complete and passes and gives some real indication of the problem that exists in trying to expose the plugin manager to any external client. the test is pretty nasty but now i can
...
work against this while i refactor. i can now merge to trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751980 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 04:31:10 +00:00
Jason van Zyl
da776815ac
o a test which demonstrates the difficulting in testing the execution of a single mojo, indicates some work to isolate the system and make it easier
...
for people to reuse this code. igor had to jump through these same hoops to get isolated mojo execution working in m2e. needs some love.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751582 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 04:51:13 +00:00
Jason van Zyl
51e30e4640
o can put the collector in the standard components.xml and makes unit testing work properly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751552 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 23:31:51 +00:00
Jason van Zyl
2d01e12568
o reduce the signature of executeMojo in the pluginManager and propagate
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751512 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 20:07:40 +00:00
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