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
Benjamin Bentmann
90aa85b340
o Extended UT to capture regression of MNG-786
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751134 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 23:25:59 +00:00
Britton Isbell
8507703dba
Model Processor code.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751126 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 23:15:04 +00:00
Oleg Gusakov
b7d67cd7e5
[MNG-3849] modifying maven repo system tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751124 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 23:09:23 +00:00
Britton Isbell
131c9d1cf0
Update module builder version.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751123 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 22:51:52 +00:00
Jason van Zyl
6f0840b4f6
o reducing the foot print of the repository interface some more
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751119 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 22:43:27 +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
Benjamin Bentmann
ff1c73a37d
[MNG-4070] [regression] Parent POMs cannot be resolved when their id values are surrounded by whitespace
...
o Added UT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751100 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 22:09:55 +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
6f2e00b622
o don't need to process repositories, they will be processed up front
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751087 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 21:44:20 +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
46dc31c0fe
o Added toString() to ease debugging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751068 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 20:45:05 +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
c0a920cf80
o make sure all the same repository processing logic is used, shunt all calls from ProjectUtils to the MavenRepositorySystem interface.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751009 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 18:03:55 +00:00
Benjamin Bentmann
fc0d7461dd
o Fixed log message
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750938 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 15:12:07 +00:00
Benjamin Bentmann
7f16ba74d7
o Fixed NPE in plugin manager
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750917 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 14:30:01 +00:00
Benjamin Bentmann
ba677b1fb9
o Improved error reporting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750906 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 14:03:38 +00:00
Oleg Gusakov
048808f308
[MNG-3849]
...
- removed security dispatcher xml descriptor dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750790 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:10:18 +00:00
Oleg Gusakov
f60741289a
[MNG-3849]
...
- upreved mercury dependency to the latest snapshot
- removed security dispatcher xml descriptor dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750789 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:09:24 +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
Britton Isbell
98891350b8
Merged back changes dealing with element ordering.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750756 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 02:41:18 +00:00
Jason van Zyl
8138048fcf
o notes on the repository interface
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750741 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 01:33:26 +00:00