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
7b6c7f6ce3
o update the mercury and ant-task based builds
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@756798 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 23:01:03 +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
c5565158a1
o don't need maven-lifecycle
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751998 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 06:35:19 +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
297d09294a
o clean up dead directories
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751528 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 21:01:18 +00:00
Jason van Zyl
a97bfe4072
o removing dead directory
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751518 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 20:45:23 +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
ab3b68a650
o don't need a separate module anymore, simplified to the point where I'm back to something similar to 2.x
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751455 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 16:15:10 +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
c7b8d7ec3b
o making a branch for for the lifecycle executor refactor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751452 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 16:09:53 +00:00
Oleg Gusakov
8c0e891f63
moving towards repository update policy per code quality
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751210 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:08:14 +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
Britton Isbell
fd7c521580
Disable unit test.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751171 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 02:02:04 +00:00
Oleg Gusakov
e4c964d2bd
removed ArtifactBasicMetadata
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751169 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 01:40:08 +00:00
Oleg Gusakov
a2f8c435c8
removed ArtifactBasicMetadata
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751168 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 01:39:48 +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
Oleg Gusakov
0f3af9305d
[MNG-3849] added clean.local.repo flag to the mercury build
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751153 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 00:59:54 +00:00
Oleg Gusakov
93af608d55
[MNG-3849] added clean.local.repo flag to the mercury build
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751150 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 00:57:13 +00:00
Jason van Zyl
2a515cdb5a
o when creating a dependency artifact, why not use a dependency as a parameter!
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751137 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 23:34:03 +00:00