Commit Graph

2120 Commits

Author SHA1 Message Date
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
Benjamin Bentmann e0c8417db5 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804375 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 21:08:55 +00:00
Benjamin Bentmann acdfa7e8df [MNG-3018] pluginManagement configurations are not honoured when plugin is silently included
o Added UT

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804257 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 15:19:51 +00:00
Benjamin Bentmann 988246330f o Polished code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804150 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 10:02:13 +00:00
Benjamin Bentmann 044f6fb408 o Removed logging of model problems from the project builder (that kind of reporting should be handled in higher levels)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804000 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 19:27:16 +00:00
Benjamin Bentmann f2946af284 [MNG-4297] Disallow use of properties in the project coordinates
o For Maven 3.0, started to produce a warning

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803995 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 19:17:19 +00:00
Benjamin Bentmann b3611a4fdd [MNG-4298] Build MavenProject instances incrementally
Submitted by: Igor Fedorenko

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803961 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 17:52:27 +00:00
Benjamin Bentmann 52d99a7ba9 o Cleaned up code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803816 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 09:32:14 +00:00
Benjamin Bentmann 6e302e26c9 [MNG-4296] allow core extensions configure new classrealms
Submitted by: Igor Fedorenko



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803811 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 09:03:07 +00:00
Benjamin Bentmann d198f32117 o Refactored project builder to support better error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803598 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 16:52:49 +00:00
Benjamin Bentmann d5c8697e97 o Fixed missing offline flag propagation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803562 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:40:24 +00:00
Benjamin Bentmann 7c9ffe28c6 o Fixed missing offline flag propagation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803555 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:29:52 +00:00
Benjamin Bentmann 9131de7039 o Fixed missing version resolution for extension plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803266 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 19:51:12 +00:00
Benjamin Bentmann 91d459309f o Fixed project building helper to use repo cache
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803256 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 19:32:27 +00:00
Benjamin Bentmann 13709defd0 o Delayed injection of plugin default configuration until the project is actually executed to allow for plugin resolution from the reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803243 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 18:45:28 +00:00
Benjamin Bentmann 87704b69b8 o Fixed potential NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803200 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 16:37:41 +00:00
Benjamin Bentmann 16b9331f92 [MNG-4291] [regression] @requiresOnline mojo annotation is ignored
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803141 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 14:53:12 +00:00
Benjamin Bentmann 217c82d26d o Re-added support for offline mode
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803093 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 12:48:14 +00:00
Benjamin Bentmann 24bd8d772f o Introduced RepositoryRequest to hold the bare minimum of items required for repo accesses
o Added cache for metadata.xml

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803059 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 10:29:38 +00:00
Benjamin Bentmann db4d07ea3a o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802778 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:09:40 +00:00
Benjamin Bentmann 09d93a0b6a o Fixed critical performance regression introduced in r801648. The relocation is now grabbed alongside the direct dependencies when we get the resolution group, these bits are stored in the same file and so we can as well process them in one go.
Issue id: o


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802251 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 22:17:19 +00:00
Benjamin Bentmann 5c3cb94678 o Cut off unnecessary access to core component descriptors from plugins (the plugin can already load core components via the parent delegation to the core realm)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802079 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:25:21 +00:00
Benjamin Bentmann 49e73d3ff6 [MNG-4273] [regression] Internal utility classes of core leak into plugin realm
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802041 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 15:15:45 +00:00
Benjamin Bentmann ce63149fa7 [MNG-4287] Make ToolchainManagerPrivate session-aware
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802024 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 14:41:10 +00:00
Benjamin Bentmann d24d7049c6 [MNG-2690] DefaultPluginManager.getConfiguredMojo() doesn't handle NoClassDefFoundError correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801964 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 12:16:45 +00:00
Benjamin Bentmann ae33045c96 [MNG-4275] [regression] Direct relocations no longer log at WARNING level : MNG-3380 conflicts with MNG-1689
o Merged from r801437

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801785 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 19:29:18 +00:00
Benjamin Bentmann 4397321a10 o Extended metadata resolution group to also hold managed version map. This can save us another trip through the project builder when transitively resolving say plugin dependencies. We already need to build the project to grab the direct dependencies so we can as well grab the managed ones while we're there
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801738 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 17:35:15 +00:00
Benjamin Bentmann 026328be02 [MNG-4197] relocation doesn't work in trunk (rev 784345)
Submitted by: Olivier Lamy

o Applied with minor updates to account for recent refactoring

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801648 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 13:48:03 +00:00