Commit Graph

84 Commits

Author SHA1 Message Date
Jason van Zyl fb1c53d6da MNG-4221: putting the repository and compat modules together while completely hide the legacy implementation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789541 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:04:34 +00:00
Jason van Zyl 979b1b0c04 o remove unused test resources
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789104 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 14:48:13 +00:00
Jason van Zyl 58154805ba o the plexus plugin configuration is shared, and we're not using the test jar any longer.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789102 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 14:39:33 +00:00
Jason van Zyl 1cef292135 MNG-4221: Another pass over making maven-compat only used by external consumers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789080 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 09:46:11 +00:00
Jason van Zyl 5f2cfdabb8 MNG-4222: Introducing JSecurity to manage authentication against remote repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789079 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 09:44:35 +00:00
Benjamin Bentmann 2138a248af [MNG-4215] Review and fix hashCode/equals methods of ArtifactRepository implementations
Submitted by: Igor Fedorenko

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788798 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 18:02:19 +00:00
Benjamin Bentmann e7ef007e6e [MNG-4217] trunk create a directory with %20 in name (trunk rev 787409)
o Added missing test classes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787818 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 20:09:11 +00:00
Jason van Zyl ea5445af38 MNG-4216: Remove all direct usage of DefaultArtifactRepository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786995 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 11:39:10 +00:00
Olivier Lamy 44deb4c46a fix/add license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786689 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 22:05:18 +00:00
Benjamin Bentmann d344f6e37f o Added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785413 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 21:25:02 +00:00
Benjamin Bentmann 1b80f29418 o Added some more delegates to real local repo to prevents plugins from NPEs or unexpected data
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785410 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 21:22:42 +00:00
Benjamin Bentmann 2a9cd6f73d [MNG-4196] [regression] Exclusions in project-level plugin dependencies are ignored
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784371 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 11:09:36 +00:00
Benjamin Bentmann 60496472c7 [MNG-4190] same remote repo is referecned multiple times
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784210 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 17:29:44 +00:00
Jason van Zyl 356495aed7 o remove dead deps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783649 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 07:06:05 +00:00
Jason van Zyl 864ea15216 o refactoring the way plugin prefix metadata is found. the lifecycle executor is not the right place for this and the plugin manager is now strictly for already fully configured executions. so it belongs somewhere specific to augmenting the base set of information in order to make it complete but this first pass will do here. i just want to check it in as well because i'm traveling.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783361 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 13:40:14 +00:00
Jason van Zyl e8ff78292b o if compile time deps are not specified maven will now complain
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780103 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:36:34 +00:00
Benjamin Bentmann 2f0b7610e2 o Added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@779748 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 19:55:37 +00:00
Jason van Zyl 101dd8530e o adding in some changes before moving to the trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779655 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 16:43:20 +00:00
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