Commit Graph

7443 Commits

Author SHA1 Message Date
Jason van Zyl 6d05b5e7ae o imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775286 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:52:25 +00:00
Jason van Zyl 392d49db54 o pass the active profile ids and profiles pass into the request
o clean up constructors for project builder configuration


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775284 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:45:48 +00:00
Jason van Zyl 01a13a3ffd o remove the profile manager and profile activation context from public view
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775281 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:32:59 +00:00
Jason van Zyl 6fbd31302f o deal with classifiers, igor needs this and I will unify the method later.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775278 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:27:20 +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 bd4515d9f4 git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775207 13f79535-47bb-0310-9956-ffa450edef68 2009-05-15 16:02:03 +00:00
Jason van Zyl 225d136f27 o removing the profile manager and profile activation context from the embedder code, it can all be handled in the core having the active/inactive profile ids on hand along with all the profiles that are available from any external sources like the settings.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775200 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 15:49:27 +00:00
Jason van Zyl 8f7f0ce1dd o note about signature removal in the project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775181 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 15:10:24 +00:00
Jason van Zyl 107b03a1f7 o getting rid of some dead code in the project builder in preparation for trying to group more of the profile handling code as a test is failing in the embedder related to profiles while everything in the pom construction test is working correctly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775141 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 14:08:43 +00:00
Jason van Zyl 49a8b628b3 o remove dead method
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775101 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 12:23:18 +00:00
Benjamin Bentmann c456055883 o Restored basedir alignment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774925 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 21:02:10 +00:00
Benjamin Bentmann f60ebacbd4 o Fixed parsing of lifecycle mappings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774886 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 19:14:25 +00:00
Benjamin Bentmann 3e287c47bb o Made plugin manager bail out if requested mojo can't be loaded to save clients from NPEs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774885 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 19:13:45 +00:00
Jason van Zyl 7ccc3d878e o fixinga bunch of embedder tests, 8 left to fix
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774768 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 13:52:03 +00:00
Jason van Zyl 060c6d9784 o all core tests pass again, on to ITs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774620 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 02:47:02 +00:00
Benjamin Bentmann 5d20be91e3 o Fixed resolution of project dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774522 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 20:44:43 +00:00
Jason van Zyl dcfc099be4 o removing duplicate tear down
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774518 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 20:33:31 +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
Benjamin Bentmann 2e08d8136a o Restored deleted methods for backward-compat with existing plugins like javadoc
o Deprecated similar methods for other scopes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774509 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 20:18:24 +00:00
Jason van Zyl af6c8da5f0 o tear down to keep the heap down
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774505 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 20:08:44 +00:00
Jason van Zyl e4ad3f01d5 o fix by igor to keep the heap down.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774502 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 19:56:25 +00:00
Jason van Zyl 5300bd94f5 o classloaders are now managed by the plugin manager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774488 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 18:45:07 +00:00
Jason van Zyl a2ac490107 o another pass the the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774487 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 18:42:56 +00:00
Jason van Zyl 73fc3f1b0c o add a check for the fake session used in testing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774451 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 17:58:59 +00:00
Jason van Zyl 177d3d54d5 o change constructor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774442 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 17:24:37 +00:00
Jason van Zyl 2a6f14badd o updating to releases of classworlds and plexus
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774415 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 16:13:18 +00:00
Jason van Zyl 97f00265c8 o change signatures to match the changes in the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774404 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 15:32:42 +00:00
Jason van Zyl d13f1295b7 o removing MavenProject from the public signature of the plugin manager to enforce the concern of the plugin manager which is simply to execute plugins. all configuration and processing of configuration happens before the plugin manager. the only thing left is the expression evaluator which has the mixed concern of configuration and componnent injection.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774361 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 13:41:06 +00:00
Jason van Zyl 861244fe51 o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774348 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 13:22:39 +00:00
Jason van Zyl 26e3763a58 o add necessary component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774344 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 13:21:40 +00:00
Jason van Zyl 9e33c65eec o reduce the number of constructors
o deprecate access to the container

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774341 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 13:20:30 +00:00
Jason van Zyl 835c8f14ef o use the one way of creating an artifact resolution request.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774335 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 13:18:59 +00:00
Jason van Zyl 57ea53e5f5 o only provide one way to construct the request.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774334 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 13:18:37 +00:00
Jason van Zyl 267ec868f2 o remove the resolve plugin version, this logic will all be handled by building up the project model, and there will be no magical plugin version diddling. you must set the version of the plugins you're using.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774327 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 13:15:48 +00:00
Jason van Zyl dba032a96f o disable a test until the new RR plugin is released.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774187 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 04:14:28 +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 b6ee917be9 o getting the project dependencies now does not require two passes and we now always resolve from the root artifact. we no longer have to set the dependency artifacts either. with chained local repositories everything will be found in a repository so you don't have to make a distinction between what you have in a reactor/workspace/repo. the artifact will be found.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774078 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 20:50:04 +00:00
Benjamin Bentmann 06a7b6abec o Updated test setup to account for changed default value
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774061 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 20:18:57 +00:00
Benjamin Bentmann 27afcb3aff o Introduced components to abstract from the Modello generated XPP reader/writer such that we can more easily switch the underlying XML parser
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774057 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 20:03:31 +00:00
Jason van Zyl 5e0dc06c34 o clean up debug in the test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773963 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 16:19:44 +00:00
Jason van Zyl 0b4fc499ed o we only need to setup the hull which holds the mojos per phase to execute, the executions are now constructed properly by the project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773962 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 16:17:36 +00:00
Jason van Zyl dd1725b131 o adding components to test wagons
o add method to view supported protocols
o add a note to the test to show the lifecycle plan is getting some repeated elements


git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773926 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 15:08:53 +00:00
Benjamin Bentmann e6fa6d26b4 o Extended UT to capture MNG-3719 as well
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773870 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 12:48:41 +00:00
Benjamin Bentmann cff6ab0d02 o Added model normalizer for things like merging duplicate plugin declarations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773869 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 12:40:57 +00:00
Benjamin Bentmann ea67631690 o Updated test setup
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773856 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 11:08:54 +00:00
Jason van Zyl 55ecfa65d6 o implement the find(Artifact) method in the default local repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773769 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 02:43:26 +00:00
Jason van Zyl 3504931b37 o the newly gutted system bootstraps, i think i'm happy about the state of 3.x now :-)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773740 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 00:35:18 +00:00
Jason van Zyl 096014099e o put the workspace respository impl in earlier so poms can be resolved from the workspace.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773694 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 20:59:54 +00:00
Benjamin Bentmann 3f08e048a9 o Moved expansion of plugin configuration into component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773692 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 20:56:32 +00:00