Commit Graph

2147 Commits

Author SHA1 Message Date
Benjamin Bentmann d6ad00a1f3 o Improved some exception messages
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825852 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 11:39:40 +00:00
Benjamin Bentmann 85089c7273 o Catched unckecked exceptions from mojos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825518 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 15:29:09 +00:00
Benjamin Bentmann 5864960314 o Widened exception type to allow handling of errors, too
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825512 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 15:17:34 +00:00
Benjamin Bentmann 759928f4d0 o Added transfer listener for further downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825494 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 13:40:24 +00:00
Benjamin Bentmann 865134cd8e o Removed duplicate class
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825301 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:48:51 +00:00
Benjamin Bentmann 60b6c026c9 o Added transfer listener for project dependency downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825299 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:43:21 +00:00
Benjamin Bentmann 6821063783 o Added transfer listener for project dependency downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825289 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:22:35 +00:00
Benjamin Bentmann 3229076989 [MNG-4204] Remove support for legacy style repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825183 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 16:39:08 +00:00
Benjamin Bentmann d5ce7b9092 [MNG-4163] Deprecate all methods in MavenProject that relate to reporting.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824941 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 21:49:31 +00:00
Jason van Zyl 787008b34a o changes to allow polyglot maven to work
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824607 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 06:49:25 +00:00
Benjamin Bentmann 4f81e046ff o Allowed arbitrary exception chaining
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824507 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 21:31:09 +00:00
Benjamin Bentmann a13a336cea [MNG-4390] Make parsing of settings.xml lenient with respect to unrecognized tags
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824188 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 22:39:55 +00:00
Benjamin Bentmann d4ca575f08 o Added new settings builder that uses request/result pattern to allow for better problem reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824172 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 21:25:11 +00:00
Benjamin Bentmann 00fa4413d2 o Added parser-neutral facades for the Modello generated settings reader/writer
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824168 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 21:22:35 +00:00
Benjamin Bentmann 4344a147a4 o Simplified code (the only two entries in the container context, the container itself and its core realm, don't apply to filtering)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824114 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 17:30:24 +00:00
Jason van Zyl 9cca807583 o don't need the model locator here anymore, pushed to the front-end
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824099 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 16:19:51 +00:00
Jason van Zyl 07398e00bc o push all pom format specific handling up to the front-end, internally inside maven we do not care what the source of POM information is
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824098 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 16:18:10 +00:00
Benjamin Bentmann 737bc0f63b o Replaced hard-coded use of "pom.xml" with a component to enable customizers using other formats to use other file names as well
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823852 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 13:26:44 +00:00
Benjamin Bentmann b55562328b o Enabled reuse of MavenCli for embedded execution during the ITs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823736 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 23:16:40 +00:00
Benjamin Bentmann 38509d6a46 o Disabled debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823110 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 10:09:00 +00:00
Benjamin Bentmann 87e56ea9f2 o Enabled debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823107 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 09:55:56 +00:00
Benjamin Bentmann c9b3998514 o Added missing dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823100 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 09:38:48 +00:00
Jason van Zyl b6c70ca1f9 o another pass at removing wagon from the core.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823064 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 06:32:35 +00:00
Benjamin Bentmann bafa946f3c o Fixed handling of missing plugin version during calculation of execution plan
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@821170 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 21:18:11 +00:00
Benjamin Bentmann f5b47d1a8a o Simplified API
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@821164 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 20:45:58 +00:00
Benjamin Bentmann 608ac9f30c o Restored backward-compat for plugins that create MavenSession
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@821082 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 16:24:54 +00:00
Jason van Zyl dc92f34610 o first pass at cleaning up the embedding pattern
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820905 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 06:51:50 +00:00
Benjamin Bentmann 2cf974570a [MNG-4385] [regression] Custom lifecycle mappings from build extension leak into other projects in the reactor without extension
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820616 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 11:39:28 +00:00
Benjamin Bentmann 8b88d97c41 o Extended error message to help diagnose bad class realms
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820600 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 10:47:10 +00:00
Benjamin Bentmann 58a24ac941 o Polished realm creation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820597 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 10:21:02 +00:00
Benjamin Bentmann f66bbf1172 o Extended debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820484 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 22:37:23 +00:00
Benjamin Bentmann 138d7bc9c2 o Allowed build extensions to contribute lifecycle participants
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820374 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 18:30:51 +00:00
Benjamin Bentmann 293dfbcb30 o Added missing dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820284 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 14:35:12 +00:00
Benjamin Bentmann 5a7d264481 o Adjusted warning
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820099 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 21:42:30 +00:00
Benjamin Bentmann 3bcdf432b2 o Unified code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819871 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 09:46:01 +00:00
Benjamin Bentmann 42884072b2 o Revised extension caching to be insensitive to POM repos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819868 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 09:38:12 +00:00
Benjamin Bentmann 663f9db7f4 o Restored backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819758 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 22:41:26 +00:00
Olivier Lamy e2594ad022 add generics.
remove unused imports.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819726 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 20:43:23 +00:00
Benjamin Bentmann c352138d0c o Fixed tracking of extension realms in cache
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819596 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 15:43:14 +00:00
Benjamin Bentmann 5950571180 [MNG-4381] Allow extension plugins to contribute non-core components to be reused by other plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@819540 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 13:56:25 +00:00
Benjamin Bentmann 3412df6ea7 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@818099 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 13:39:31 +00:00
Benjamin Bentmann 34abdbf274 o Fixed sychronization after refactoring
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817780 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 19:19:32 +00:00
Benjamin Bentmann eda354717b [MNG-4194] API to safely release of plugin realms
o Allowed cache to track usage of plugins by projects

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817681 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 14:48:00 +00:00
Benjamin Bentmann 341f030f5c o Generalized plugin realm cache
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817669 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 14:17:30 +00:00
Benjamin Bentmann 3646d923a9 o Renamed classes to better describe purpose
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817646 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 13:10:47 +00:00
Benjamin Bentmann 6d470389c6 o Fixed invalid POMs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817607 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 11:41:39 +00:00
Benjamin Bentmann 08406e1c13 [MNG-4363] [regression] Dependency artifacts injected by plugins aren't included in class paths
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817233 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:57:43 +00:00
Benjamin Bentmann fb40b8e83a [MNG-4055] wrong error on mvn install in folder without pom.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817227 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:32:45 +00:00
Benjamin Bentmann fa454684ee o Fixed handling of parameter alias in combination with default value
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816755 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 19:29:19 +00:00
Benjamin Bentmann e88a644e41 o Restored MavenProject.getCollectedProjects()
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816681 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 15:46:26 +00:00
Benjamin Bentmann ddf8257866 [MNG-4048] Allow to resolve dependencies using version range from reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816180 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 13:26:10 +00:00
Benjamin Bentmann 5d459b0c0e [MNG-4361] [regression] command line option "-update-snapshots" does not work
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@816002 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 23:07:41 +00:00
Benjamin Bentmann b98795ecb9 [MNG-3281] Revisit backwards compat of extensions (IT 0114)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@815761 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 13:21:50 +00:00
Benjamin Bentmann 6b2adee21f [MNG-4360] [regression] wagon-webdav-jackrabbit doesn't work with Maven 3.x
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@815413 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 17:43:36 +00:00
Benjamin Bentmann 2dc6a5313c [MNG-4359] [regression] Locally reachable parent POMs outside of reactor are not found during dependency resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@815327 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 13:46:52 +00:00
Benjamin Bentmann 588907b593 o Properly handled linkage errors during mojo execution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814890 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 22:28:01 +00:00
Benjamin Bentmann 0553645ac6 o Restored legacy code for backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814889 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 22:27:17 +00:00
Benjamin Bentmann 8edb01d911 [MNG-4355] [regression] Extensions without version in the POM are not resolved to the RELEASE artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814571 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 10:47:46 +00:00
Benjamin Bentmann e66e2cf2f7 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814350 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 17:29:26 +00:00
Benjamin Bentmann 7fee6483b3 o Revised ModelProblem to provide more detailed information about problem location
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814330 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 15:09:33 +00:00
Benjamin Bentmann 552a920fb0 o Fixed resolution of transitive dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813805 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 12:31:00 +00:00
Herve Boutemy 0553695bcb added XML schema location for site.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813781 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 11:34:15 +00:00
Herve Boutemy b82977a18c fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813612 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 21:58:39 +00:00
Benjamin Bentmann 4e37cb1a45 o Updated to plexus-classworlds:2.1.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813572 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 20:09:48 +00:00
Herve Boutemy 8f2fd860e2 typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813498 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 16:31:07 +00:00
Benjamin Bentmann 77d2fb2068 [MNG-4350] [regression] Multiple goals bound to the same phase in a lifecycle mapping get executed out of order
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813144 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 22:30:13 +00:00
Benjamin Bentmann 22ef9f58fe [MNG-4349] [regression] Maven hangs in endless loop if POM of relocated artifact is invalid
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812993 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 15:26:04 +00:00
Benjamin Bentmann 2c2c13aefb [MNG-4348] [regression] Unnecessary remote repo access for POMs while execution plugin that does not require dependency resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812914 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 12:08:26 +00:00
Benjamin Bentmann 3aa97fe7c2 [MNG-4342] [regression] Multiple goals within single execution with equally named parameter get configured with wrong default values
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812869 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 10:07:01 +00:00
Benjamin Bentmann e4c0baae36 o Restored legacy code for backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812614 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 18:35:16 +00:00
Benjamin Bentmann 73d7e4f891 [MNG-4344] [regression] Managed executions of plugins introduced by default lifecycle bindings execute before explicitly defined plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812550 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 15:24:19 +00:00
Benjamin Bentmann 53b7d5e805 [MNG-4345] [regression] Plugin executions contributed by default lifecycle mapping execute after other plugin executions bound to the same phase
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812480 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:23:24 +00:00
Benjamin Bentmann c249a98408 [MNG-4345] [regression] Plugin executions contributed by default lifecycle mapping execute after other plugin executions bound to the same phase
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812467 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 11:27:57 +00:00
Benjamin Bentmann b614de4253 [MNG-4341] [regression] Plugins are not executed in POM order
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812259 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 19:15:51 +00:00
Benjamin Bentmann 84534b4372 o Fixed population of properties in legacy project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812081 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 11:11:24 +00:00
Benjamin Bentmann 318fe259d8 [MNG-4338] Unexepceted "Unknown packaging: bundle" error for plugins with custom lifecycle mapping that defines optional mojos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@811512 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 18:35:11 +00:00
Benjamin Bentmann 08cc074b50 [MNG-4335] [regression] <settings><offline>true</offline</settings> is not honored
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@811352 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 11:41:49 +00:00
Benjamin Bentmann d7e8f29509 o Improved error messages
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810954 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 14:10:23 +00:00
Benjamin Bentmann 102f4ab603 [MNG-4334] maven core caches settings.xml
o Last pass: proxies moved out of the components into the requests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810444 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 10:16:19 +00:00
Benjamin Bentmann 3c34aa8c14 [MNG-4334] maven core caches settings.xml
o First pass: auth & mirror moved out of the components into the requests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810296 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 22:49:05 +00:00
Benjamin Bentmann b8b148cf8b o Collected repo settings in request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810174 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:03:27 +00:00
Benjamin Bentmann 6615239fc8 o Made settings cloneable
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810165 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 18:50:09 +00:00
Benjamin Bentmann 5a3334c3e0 o Restored backward-compat with 2.x
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810131 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 17:20:32 +00:00
Benjamin Bentmann 26f1a5bfda [MNG-4332] [regression] Default plugin executions contributed by packaging execute after executions from plugin management
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809751 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 21:31:01 +00:00
Benjamin Bentmann 3f6ba89be7 o Simplified code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809532 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 10:41:55 +00:00
Benjamin Bentmann 6d604c17c7 [MNG-4331] Add new mojo annotation @requiresDependencyCollection to grab dependency tree without files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809431 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 22:28:16 +00:00
Benjamin Bentmann a0d6f81a20 o Simplified code (multi-cast can be realized by a delegating listener if required)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809402 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 18:41:45 +00:00
Benjamin Bentmann 1e33cb56fe o Simplified code (multi-cast can be realized by a delegating listener if required)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809399 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 18:34:46 +00:00
Benjamin Bentmann 6a41005dd2 o Synced ProjectDependenciesResolver with MSHARED-126
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809365 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 16:09:32 +00:00
Benjamin Bentmann 7949eb739c o Excluded maven-artifact-resolver from plugin realm
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809070 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 00:01:40 +00:00
Benjamin Bentmann 515843c2fe o Restored backward-compat with 2.x where the metadata source is effectively available with two role hints
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809066 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 23:43:57 +00:00
Benjamin Bentmann c62aa5c8a4 o Renamed method to better reflect its effect
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809064 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 23:40:34 +00:00
Benjamin Bentmann add554b1d6 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809038 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 21:42:58 +00:00
Benjamin Bentmann de1813b2ea o Restored backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808987 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 19:00:12 +00:00
Benjamin Bentmann 0b8b83f670 [MNG-4238] [regression] plugin parameters of primitive types can't be populated from expression
o First part of the fix, complete solution requires new plexus container (PLX-431) as well

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808971 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 17:57:04 +00:00
Benjamin Bentmann 023afe0dec o Exposed methods to allow the Site Plugin to reuse the forking code for report mojos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808828 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 09:50:29 +00:00
Benjamin Bentmann b2e6f787f6 o Fail properly when mojo requires project but there is none
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808819 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:55:27 +00:00
Benjamin Bentmann 6da9bf5c0a [MNG-4327] [regression] Forking mojos that are bound to a lifecycle phase that gets forked execute multiple times
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808556 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 18:00:56 +00:00
Benjamin Bentmann 481eefc1b3 [MNG-3260] 2.1: aggregating plugins in submodules of the reactor return all projects causing a chicken/egg issue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808394 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 12:17:46 +00:00
Benjamin Bentmann 5ab104e063 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808344 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:55:02 +00:00
Benjamin Bentmann 3842d802e4 o Included forked executions in dump of execution plan
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808339 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:39:41 +00:00
Benjamin Bentmann b3988a2e58 o Restored forking for aggregators
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808219 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 23:18:59 +00:00
Benjamin Bentmann e8f81a7d36 o Fixed legacy artifact creation by metadata source
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807836 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:16:19 +00:00
Benjamin Bentmann 3dd5ffbcaf o Restored method required by integrators
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807761 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:55:04 +00:00
Benjamin Bentmann 5bddea6003 o Increased method visibility to enable integrators to workaround MNG-4194
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807759 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:45:50 +00:00
Benjamin Bentmann 4b904e1005 o Revised error handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807736 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:03:51 +00:00
Benjamin Bentmann fba1a8f5e7 o Tweaked error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807646 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:22:10 +00:00
Benjamin Bentmann a20eb4d2a3 [MNG-4320] [regression] Aggregators invoked from CLI no longer resolve dependencies for all reactor projects
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807638 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:05:16 +00:00
Benjamin Bentmann 84803c54c6 [MNG-4321] [regression] Configuration from plugin management is not applied to goals invoked from CLI
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807576 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 12:24:36 +00:00
Benjamin Bentmann a3eba702af [MNG-4318] MavenProject.executionRoot is not set correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807526 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 08:58:18 +00:00
Benjamin Bentmann 1faa467bb5 o Generalized lifecycle listener
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807507 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 07:46:21 +00:00
Benjamin Bentmann 6a7fdf038e o Cleaned up code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807327 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 18:17:13 +00:00
Benjamin Bentmann 9298fbb213 [MNG-4314] [regression] Direct invocation of aggregator plugin causes plugin to run on each project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807314 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 17:39:30 +00:00
Benjamin Bentmann 855ae11f28 o Removed unused exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807237 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 14:29:47 +00:00
Benjamin Bentmann 29b30a3249 o Introduced component for metadata parsing to abstract from XPP3
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807145 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 10:47:53 +00:00
Benjamin Bentmann 61e9292993 [MNG-4317] [regression] g:a level metadata is not properly processed when resolving plugin version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807140 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 10:14:21 +00:00
Benjamin Bentmann 2b5054a347 o Updated to modello:1.1
o Used clone() methods generated by Modello for model cloning

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806855 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 13:55:25 +00:00
Benjamin Bentmann 0acb96af27 o Reverted r806709, it is the very purpose of this method to be independent of the role implemented by a mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806850 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 13:17:35 +00:00
Olivier Lamy 79d66f164c [MNG-4162] all mojo (even report mojo) have the same/unique role : Mojo.ROLE
Issue id: 4162


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806709 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 20:35:41 +00:00
Benjamin Bentmann 4f49a5c76e o Improved logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806639 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 16:53:53 +00:00
Benjamin Bentmann 1b57686445 o Restored some more backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806585 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 15:04:07 +00:00
Benjamin Bentmann 199bcd45b6 o Removed garbage
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806540 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 13:13:48 +00:00
Benjamin Bentmann c81959a706 o Restored some more backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806538 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 13:07:32 +00:00
Benjamin Bentmann 0fa8f7dc93 [MNG-4313] Plugin descriptor builder ignores deprecation message for mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806335 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 20:06:58 +00:00
Benjamin Bentmann 5c848ce17a [MNG-4312] Magic expressions injected by PluginParameterExpressionEvalutor conflict with expressions used by plugins to access system properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806286 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 18:17:26 +00:00
Benjamin Bentmann 8e277259aa o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806196 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 14:42:04 +00:00
Benjamin Bentmann 2f4b79e4bb o Moved plugin prefix resolution into a dedicated component
o Completed compat impl of legacy plugin manager

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806153 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 12:57:39 +00:00
Benjamin Bentmann 43e0979b5e o Fixed parsing of default phase bindings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806005 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 22:52:41 +00:00
Benjamin Bentmann 2e0b074c5e o Decoupled test from super POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806004 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 22:51:43 +00:00
Benjamin Bentmann 14a19354e0 o Restored more backward-compat code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805995 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 22:11:34 +00:00
Benjamin Bentmann d42a58e1e0 o Removed obsolete class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805993 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 22:09:56 +00:00
Benjamin Bentmann ff4d83c2d5 o Renamed new plugin manager to make room for the legacy impl that will provide backward-compat with existing plugins
o Extracted plugin version resolution into a dedicated component

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805962 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 20:24:35 +00:00
Benjamin Bentmann 90333e8cd9 o Removed obsolete code (plugin descriptors are cached by dedicated component)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805876 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:41:56 +00:00
Benjamin Bentmann 188543b54f o Added some API docs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805855 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:04:18 +00:00
Benjamin Bentmann bc68f13de7 o Removed obsolete code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805833 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:15:04 +00:00
Benjamin Bentmann fd54fd1f07 o Splitted plugin manager: One general component for any kind of Maven plugin, one specifically tailored for execution of build plugins. The generic plugin manager is meant to be reused by the new Site Plugin, the other plugin manager is private to the core.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805826 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 14:52:04 +00:00
Benjamin Bentmann fc48539c96 o Fixed control flow to properly fire session end event
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805717 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 09:39:51 +00:00
Benjamin Bentmann 8c7eb1b036 o Removed superfluous code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805714 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 09:31:23 +00:00
Benjamin Bentmann 7ed9ec5b37 o Improved warning
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805356 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 10:58:49 +00:00
Benjamin Bentmann b725e30dea [MNG-4305] [regression] ${localRepository.basedir} is not a proper path
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805061 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:30:33 +00:00
Benjamin Bentmann 00ed1a01c0 [MNG-4304] [regression] MavenProject.getDependencyArtifacts() not set
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805008 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 15:16:57 +00:00
Benjamin Bentmann 2dddfecbfa o Added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805005 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 15:07:15 +00:00
Benjamin Bentmann df8c87bba7 o Moved logging over to listener
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804961 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 13:01:28 +00:00
Benjamin Bentmann b5cdb0dc74 o Introduced listener to track lifecycle events
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804940 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:28:24 +00:00
Benjamin Bentmann eb8b7072a8 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804894 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:19:55 +00:00
Herve Boutemy 9d381f5aeb use Java 5 generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804537 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 22:36:52 +00:00
Herve Boutemy 86ccde3549 use Java 5 generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804536 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 22:17:35 +00:00
Herve Boutemy 3acee5c76e little coding style fixes (no code change)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804535 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 22:12:01 +00:00
Herve Boutemy 10c3b8f499 little coding style fixes (no code change)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804533 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 22:08:43 +00:00
Benjamin Bentmann 828db37251 o Restored methods for backward compat (e.g. with maven-enforcer-plugin)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804403 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 22:48:46 +00:00