Jason van Zyl
3ec487cdbf
o creating a test metadata source for the legacy system, getting rid of anonymous instances in tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776498 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 23:39:21 +00:00
Jason van Zyl
3a65c9fd76
o moving version resolution when not specified to the lifecycle executor, what goes into the plugin manager will be completely
...
and entirely resolved.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776494 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 23:07:08 +00:00
Jason van Zyl
e0298b7c97
o first pass at setting up error handling for each possible error condition
...
- this resulted in cleaning up some exceptions in plexus so that they might message could be surfaced in Maven
o move the plugin prefix searching to the lifecycle executor and get it out of the plugin manager
o add capability to the RepositorySystem to get plain resources from a repository. I'm going simple with the repository group
metadata and I will just get the file directly as the only implementation is the plugin group metadata. the system is
not easily or generally extensible so i'll just take what I need
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776412 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 18:53:07 +00:00
Benjamin Bentmann
59224daa9e
o Fixed interpolation of system properties
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776073 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 20:10:06 +00:00
Benjamin Bentmann
8c30410341
o Deleted test which is invalid due to r772675
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775666 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 14:55:44 +00:00
Benjamin Bentmann
b4df2f1bb3
o Fixed injection of repos from settings.xml
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775626 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 11:13:32 +00:00
Benjamin Bentmann
a82951eb05
o Re-enabled fixed tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775488 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 15:56:03 +00:00
Benjamin Bentmann
5a2ef49f1d
o Fixed file:// URL handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775363 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 21:52:10 +00:00
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