Commit Graph

7453 Commits

Author SHA1 Message Date
Benjamin Bentmann 7afb4637c8 o Fixed resolution of project dependencies (regardless whether we want to resolve the root, the metadata source needs to resolve the root's POM so we better point it at the one we're interested in)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775350 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 21:26:55 +00:00
Benjamin Bentmann 7612c0e020 o Added toString() to ease debugging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775311 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 20:20:32 +00:00
Benjamin Bentmann d616f1d873 o Made project cache sensitive to file modifications
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775307 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 20:13:08 +00:00
Benjamin Bentmann a9f90cc8f3 o Allowed gargabe collector to free heap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775304 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:58:57 +00:00
Benjamin Bentmann 6f57526dfd o Saved clients from NPEs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775303 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:51:27 +00:00
Jason van Zyl 3aac2d6d44 o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775299 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:38:50 +00:00
Jason van Zyl 2e6a5a99dd o project with optional dep
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775298 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:33:47 +00:00
Benjamin Bentmann e4b2737236 o Fixed test assertion (there's really just one dependency without transitive ones in the test POM)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775297 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:32:26 +00:00
Benjamin Bentmann b81a59ba3a o Added clear() method to project cache
o Added license headers

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775290 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:17:32 +00:00
Jason van Zyl 8674601f3b o no doco is better then incorrect doco
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775287 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:53:24 +00:00
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