Commit Graph

967 Commits

Author SHA1 Message Date
Jason van Zyl 1ffdc9286a o start the grand plugin refactoring, just putting it all together in addition to putting all the repository/artifact calls
behind the repository system you can see project and plugins being processed an incredible number of times and the recursion
  in the collector is broken causing POMs for plugins to be processed hundreds of times. The bootstrap under profiling reveals
  the xpp3 parser being used almost 30k times which is pure insanity.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750774 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 05:38:48 +00:00
Britton Isbell 98891350b8 Merged back changes dealing with element ordering.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750756 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 02:41:18 +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
Britton Isbell 3a2c55315c Fixed a number of element ordering problems. Matches up with latest model-builder. Suppoert for tagging elements with orginal pom id.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750701 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 00:23:35 +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
Jason van Zyl 8fd147fff0 o get rid of enableLogging method
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750657 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 22:53:43 +00:00
Jason van Zyl 57c1ffabe2 o inject the logger
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750656 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 22:51:53 +00:00
Jason van Zyl 3292b4bdd3 o get rid of a few more buildArtifactRepository uses
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750650 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 22:48:08 +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
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