Commit Graph

49 Commits

Author SHA1 Message Date
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 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 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
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
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
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
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 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
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
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 5a35fc9aee o remove more methods from the repository interface
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750686 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 23:35:02 +00:00
Jason van Zyl 74384e7c63 o more reduction of the repository interface
o cleaning up the project builder


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750677 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 23:27:03 +00:00
Benjamin Bentmann dc20a5cdcf [MNG-4068] [regression] Use proper id for mirrored repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750613 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 21:49:55 +00:00
Jason van Zyl d4c2d94607 o shunt ProjectUtils into using the same repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750571 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 20:06:11 +00:00
Jason van Zyl 2a68738178 o leave repository ids alone for now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750570 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 20:05:00 +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 0425ac9cb2 o Removed debugging output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750551 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 18:58:03 +00:00
Benjamin Bentmann c545d0964b o Added debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750530 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 18:07:32 +00:00
Benjamin Bentmann 6a24ec3392 o Added debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750528 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 18:04:11 +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
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
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 688573f8ec o Restored backward-compat with maven-assembly-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749999 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 13:17:45 +00:00
Benjamin Bentmann 1b0a7e4c6b o Fixed project name
o Removed superfluous whitespace

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749947 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 09:10:20 +00:00
Oleg Gusakov 7d8f206bc2 [MNG-3849] had to add a lot of test deps - will remove when collapsed mercury
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749915 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 05:53:59 +00:00
Oleg Gusakov 9ef5c6edbe [MNG-3849] test harness
- abstract test for testing all repository system implementations
- mercury implementation test

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749864 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 00:48:34 +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
Oleg Gusakov 65a8daef73 [MNG-3849] - added placeholders for separating metadata resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749543 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 06:28:20 +00:00
Jason van Zyl d670f82e62 o don't need WagonManager anymore
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749489 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:24:15 +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
Jason van Zyl da4e56cc80 o use internal method, not the artifact resolver
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749085 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 20:30:49 +00:00
Jason van Zyl 3051c4974b o Fix compilation error with mirrors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749060 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 16:51:22 +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
Brian E Fox d8b2bb7b3c re-fixing MNG-3974
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748688 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 20:43:58 +00:00
Jason van Zyl f5771c7dfb o remove debugging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748650 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 19:33:45 +00:00
Jason van Zyl e51635bf44 o slimming down the interface for the mirror builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748649 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 19:32:49 +00:00
Jason van Zyl 0f4e3cd061 o adding back in mirroring code but separated into a component and reactivated the tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748558 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 15:38:14 +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
Oleg Gusakov 34820bc86c getting rid of project in the API layer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747923 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 21:05:19 +00:00
Jason van Zyl a1f10a19d6 o one more class to decouple which i'll leave to oleg
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747911 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:35:44 +00:00
Jason van Zyl f5522d551a o trying out some more decoupling in a separate module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747905 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:09:57 +00:00
Jason van Zyl a882c1015b o trying to decouple the interface from maven-project. we're stuck with MavenProject at the moment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747886 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 18:28:14 +00:00
Jason van Zyl 2b7a9d9220 o POM for the separation of the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747880 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 18:13:25 +00:00
Jason van Zyl 29d4a4048a o adding a separate module for the repository system so that oleg can start a mercury implementation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747877 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 18:10:02 +00:00