Commit Graph

985 Commits

Author SHA1 Message Date
Jason van Zyl ef8a681a17 o notes on the sanitizing of the lifecycle executor api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757560 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 21:51:37 +00:00
Jason van Zyl ac8db28f3b git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757141 13f79535-47bb-0310-9956-ffa450edef68 2009-03-22 07:39:57 +00:00
Jason van Zyl 0bf25e64d8 o adjusting the internals to deal with root-based resolution
o gross hack to work around someone hardcoding a dummy:dummy root artifact in the surefire plugin



git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@756885 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 07:28:59 +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
Britton Isbell fd7c521580 Disable unit test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751171 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 02:02:04 +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
Benjamin Bentmann 90aa85b340 o Extended UT to capture regression of MNG-786
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751134 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 23:25:59 +00:00
Britton Isbell 8507703dba Model Processor code.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751126 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 23:15:04 +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
Benjamin Bentmann ff1c73a37d [MNG-4070] [regression] Parent POMs cannot be resolved when their id values are surrounded by whitespace
o Added UT

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751100 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 22:09:55 +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 6f2e00b622 o don't need to process repositories, they will be processed up front
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751087 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 21:44:20 +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 c586c81065 o remove the build planner from visibility
o fix a method in the project builder to protect against an error coming from the remote resources plugin, it's asking to resolve a POM from a JAR artifact and the old project building code was doing that for whatever not-right reason


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751021 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 18:20:52 +00:00
Benjamin Bentmann ba677b1fb9 o Improved error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750906 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 14:03:38 +00:00
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