Commit Graph

107 Commits

Author SHA1 Message Date
Jason van Zyl 36e43b2951 o cleaning up project builder, removed signatures that i've corrected in the RR plugin, moved properties injection up to the main Maven component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@770390 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 18:49:42 +00:00
Jason van Zyl d993c66b23 o resolving dependencies of a root artifact is now the job of ... the artifact resolver!
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769969 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 22:22:57 +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 d2bbf510f9 Param check in artifact utils.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769557 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:46:43 +00:00
Britton Isbell d8e77e29b8 Removed references to MavenProject.injectPlugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769467 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 17:09:36 +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 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 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 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 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
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
Jason van Zyl f4ec59594c o remove more methods to the repository system, starting to get close to the final set of methods and then we can move on to the classes of the binding to the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750738 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 01:25:43 +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 013f3adab5 o Added more debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750471 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 15:06:27 +00:00
Benjamin Bentmann 4e402106f2 o Added more debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750470 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:58:32 +00:00
Benjamin Bentmann afa3b93e09 o Added more debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750468 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:47:35 +00:00
Benjamin Bentmann a27e6457b4 o Added debug logging for mirrors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750461 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:03:21 +00:00
Benjamin Bentmann 8ea9a241b6 o Fixed missing propagation of authentication info to the wagon manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750444 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 12:46:41 +00:00
Benjamin Bentmann 81b95fde8a o Removed debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750434 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 12:09:21 +00:00
Benjamin Bentmann 205d7a6f48 o Added temporary debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750431 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 11:58:18 +00:00
Jason van Zyl 7d32348c3d o no choice but to shunt the ProjectUtils which is used by the remote resources plugin into using the MavenRepositorySystem.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750324 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 06:00:07 +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 accba53f35 o remove debug
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750121 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:38:54 +00:00
Benjamin Bentmann 012a6447c8 o Reused the error handling component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750043 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 15:13:07 +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 1971bae2f0 o Restored backward-compat with maven-assembly-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750003 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 13:37:24 +00:00
Benjamin Bentmann 9b6716c552 o Restored backward-compat with maven-assembly-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749982 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 12:38:00 +00:00
Benjamin Bentmann 5ad4dc1cc6 o Restored compat with 2.x where the root is not resolved for ArtifactResolver.resolveTransitively()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749968 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 11:35:58 +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
Benjamin Bentmann b3d226a90b o Pushed online network state down into artifact resolver where it actually matters
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749788 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 22:06:49 +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
Benjamin Bentmann c9514a39f5 o Fixed ConcurrentModificationException
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749595 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 12:25:22 +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
Jason van Zyl 8fede74822 o adding backward compat for Surefire
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749494 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:33:58 +00:00
Jason van Zyl 781d7091cb o further culling fields from the resolution request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749484 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:14:44 +00:00
Jason van Zyl cfbb4c4f54 o clean up unused methods in the resolution request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749480 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 23:58:51 +00:00
Jason van Zyl 47971a16a1 o fixing failing project building tests as a result of consolidating the artifact resolution code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749460 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 22:40:17 +00:00
Jason van Zyl 92a962c9e1 o fixes for failing tests, there is much confusion between metadata and artifacts, requests made and real values returned.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749414 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 19:01:37 +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
Benjamin Bentmann 929016ddf9 [MNG-4059] Remove support for non-unique SNAPSHOT deployments
o Made uniqueVersion default to true

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749333 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 15:23:11 +00:00
Benjamin Bentmann 5f3b5c9b02 o Added note about WagonManager compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749314 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 14:29:46 +00:00
Jason van Zyl d0caac9402 o adding default constructor and one for the single artifact resolution request.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749086 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 20:35:02 +00:00