Commit Graph

958 Commits

Author SHA1 Message Date
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
Britton Isbell 3b4dd11674 Unit test files.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750157 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 21:26:28 +00:00
Jason van Zyl 83720e04ca o use the remote repos processed by the request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750152 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 20:53:37 +00:00
Britton Isbell 4af4093d4c Remove dup code for profile creation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750144 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 20:33:54 +00:00
Britton Isbell a2b9aa8bf3 Cleaned up code - generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750104 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:08:28 +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
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
Oleg Gusakov 645bfdaeda [MNG-3849] test harness
- legacy system UT placeholder

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749912 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 05:51:33 +00:00
Britton Isbell 1492907f1b Updated to use latest model-builder. Now detect most specialized model through method, not order of domain model list.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749870 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 01:05:58 +00:00
Britton Isbell c5938b5d12 Added unit test for mng-3900
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749774 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 21:52:33 +00:00
Britton Isbell d05439959c Added unit test for mng-3900
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749773 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 21:52:12 +00:00
Benjamin Bentmann 3e7be3ad1f o Restored isolation of model in forked lifecycle
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749738 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 20:39:51 +00:00
Britton Isbell c151f2925f Profile tests. Fixes for negation activation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749717 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 19:57:01 +00:00
Benjamin Bentmann e417b541e0 o Fixed resolution of local projects from reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749687 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 18:42:34 +00:00
Benjamin Bentmann 0c988fc7a9 [MNG-4056] Relax resolution of active project artifacts from the reactor with regard to artifact type
o Merged from r749612

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749616 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 13:47:47 +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 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 7c537105b2 o Fixed profile injection
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749386 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 17:58:15 +00:00
Benjamin Bentmann 30f5d777c1 o Generified code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749355 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 16:48:29 +00:00
Benjamin Bentmann 87f3f584aa o Fixed encoding error
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749308 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 13:46:51 +00:00
Benjamin Bentmann 494b72ea2c o Fixed NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749293 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 12:37:54 +00:00
Benjamin Bentmann 797e071685 [MNG-2254] the encoding parameter in xml declaration of POM is ignored
o Added UT

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749076 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 19:14:05 +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
Britton Isbell 74b67a85d7 Removed artifact resolver. Now just using the repositorySystem directly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748908 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 19:22:02 +00:00
Britton Isbell aaf67164e0 Removed deprecated methods and uses of ProfileManager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748893 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 17:44:51 +00:00
Britton Isbell b487a2fd45 Moved profile classes into main project package.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748889 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 17:26:56 +00:00
Britton Isbell b216d61448 Got rid of the profile injector and advisor.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748871 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 16:01:20 +00:00
Britton Isbell 7040079ca9 Replaced the old profile injector code with new profile code. Merged project builders.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748609 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 17:28:54 +00:00
Britton Isbell 1bc43bf147 Removed profile builder.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748244 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 18:03:57 +00:00
Britton Isbell 29e80ac703 Removed support for profiles.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748226 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 17:46:01 +00:00
Britton Isbell c002a8d22e Removed remaining activator interfaces and uses.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748216 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 17:28:25 +00:00
Britton Isbell ed13b8620d Removed old profile activators.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748211 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 17:12:14 +00:00
Oleg Gusakov de818bc154 organize imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748039 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 06:43:01 +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
Britton Isbell 55faf1270e Replaced old profile code with new.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747993 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 03:14:14 +00:00
Britton Isbell fac6e8c96d [MNG-4050] - Disabled empty URL check. Failure here is correct behavior, breaks backward compatibility.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747991 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 02:47:45 +00:00
Benjamin Bentmann dc43d5412f [MNG-4053] [regression] XML attributes in plugin configuration get duplicated to other elements in combination with plugin management
o Added UT

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747943 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 22:28:48 +00:00
Jason van Zyl a965b55cf4 o fixing the tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747925 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 21:10:31 +00:00
Jason van Zyl 7b3b37986c o fixing MavenMetadataSource
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747919 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 21:01:07 +00:00
Jason van Zyl af465cb137 o remove MavenMetadataSource's static call
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747913 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:40:28 +00:00
Jason van Zyl 5d70315512 o remove static method from MavenMetadataSource
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747910 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:35:29 +00:00
Jason van Zyl 5a0f6b79e2 o remove MavenProject imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747904 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:06:32 +00:00
Oleg Gusakov f4249d0a73 refactored the "single repository interface" to get rid of Project - replaced with sudo-repository interface to find reactor artifacts if any
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747901 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:01:52 +00:00
Jason van Zyl f2d3908905 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747888 13f79535-47bb-0310-9956-ffa450edef68 2009-02-25 18:28:39 +00:00
Jason van Zyl bb864d028b o remove another unused method from the repository system interface
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747665 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 05:28:17 +00:00
Jason van Zyl 47357091c5 o remove VersionRange from everywhere except the legacy repository system implementation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747662 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 05:22:41 +00:00
Jason van Zyl 4aea96aeb2 o use the artifact resolution request/result method to remove another couple methods from the repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747658 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 04:55:59 +00:00
Jason van Zyl 54da5ce53e o omit the creation of deployment specific repositories, and uniqueVersion = false isn't going to matter in 3.x. everything will be unique to match an osgi versioning scheme. the dichotomy between unique sometimes, and no versions locally is a mess.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747652 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 04:07:40 +00:00
Jason van Zyl 2862516673 o trim out buildArtifactRepositories( Model )
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747639 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 01:27:15 +00:00
Jason van Zyl df4430644b o create a test repository system that has the "special" retrieve method. i'll turn this into a proper test but this
exposed a bug in the plexus test metadata generation -- the production component along with the test component are                       
  put in the generated metadata and the last definition wins which knocks out my test component    


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747618 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 00:04:51 +00:00