Jason van Zyl
b54a1b781b
o large patch to rework the chained local repository implementations necessary for efficient reactor and IDE workspace resolution
...
Submitted by: Igor Fedorenko
I've asked Igor to fill out and send in a CLA and I will put him on the Sonatype CCLA
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777298 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 22:35:29 +00:00
Jason van Zyl
e0298b7c97
o first pass at setting up error handling for each possible error condition
...
- this resulted in cleaning up some exceptions in plexus so that they might message could be surfaced in Maven
o move the plugin prefix searching to the lifecycle executor and get it out of the plugin manager
o add capability to the RepositorySystem to get plain resources from a repository. I'm going simple with the repository group
metadata and I will just get the file directly as the only implementation is the plugin group metadata. the system is
not easily or generally extensible so i'll just take what I need
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776412 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 18:53:07 +00:00
Benjamin Bentmann
5a2ef49f1d
o Fixed file:// URL handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775363 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 21:52:10 +00:00
Jason van Zyl
a742eb2cba
o adding method to handle classifiers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775275 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:23:31 +00:00
Jason van Zyl
350b8d30e7
o remove security from the component, they will be stored on the request
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775208 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 16:05:05 +00:00
Jason van Zyl
de46f2a5fa
o bunch more patches from Igor to keep the heap down. junit is just not letting go.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774515 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 20:27:13 +00:00
Jason van Zyl
b4251c3e16
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774079 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 20:50:52 +00:00
Jason van Zyl
3398024a0f
o delegating local repository implementation that chains the reactor and user local repository
...
o removal of more state from the WagonManager and pushing it into the request in an attempt to bridge the way for Mercury
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773456 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 04:08:29 +00:00
Jason van Zyl
a73c5abc9c
o in the middle of a ReactorArtifactRepository but ben and igor need access so checking in
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@772832 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 03:24:55 +00:00
Benjamin Bentmann
31061189b0
o Fixed creation of default remote repo (e.g. no snapshots from central)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@771441 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 21:05:28 +00:00
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
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
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
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
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
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