Commit Graph

2251 Commits

Author SHA1 Message Date
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
Benjamin Bentmann d725bd9238 o Fixed test stub to be more realistic
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801613 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 11:48:17 +00:00
Benjamin Bentmann cbfc593e6e o Fixed exception reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801591 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 10:24:05 +00:00
Benjamin Bentmann e3b41a9457 o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801451 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 22:47:45 +00:00
Benjamin Bentmann 84dc78cbe4 o Extended error reporting to provide the id of the POM that failed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801449 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 22:45:14 +00:00
Benjamin Bentmann 7de1280968 [MNG-4283] [regression] Parent POM with packaging other than "pom" is not rejected
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801424 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 21:43:24 +00:00
Benjamin Bentmann 27ff2babf9 o Fixed invalid test POMs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801423 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 21:42:06 +00:00
Benjamin Bentmann 82e64d3049 o Restored compat with Maven 2.x regarding order of mojo parameters
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800767 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 13:01:35 +00:00
Benjamin Bentmann f3d89b4d5b o Fixed missing injection of default parameter values for direct goals invocations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800740 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 11:59:57 +00:00
Benjamin Bentmann a0f1eb3917 [MNG-4280] [regression] Direct CLI invocation of goal causes "default-cli" config to be processed twice, duplicating list values
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800728 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 10:58:12 +00:00
Benjamin Bentmann 64f0e9f57b o Fixed exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800493 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 18:57:21 +00:00
Benjamin Bentmann b454fb7cb6 o Polished error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800482 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 18:08:55 +00:00
Benjamin Bentmann 8441ba3c76 o Deprecated unused exception type
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800460 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 16:43:10 +00:00
Benjamin Bentmann 975ac84b45 o Refactored model building listener to use problem collector
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800418 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 15:13:46 +00:00
Benjamin Bentmann 5e36879dd4 o Reworked handling of model problems to allow for easier reusage across all the other model diddling components
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800413 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 14:58:05 +00:00
Benjamin Bentmann 0373dfb46b o Extended lifecycle injector to collect model problems
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800353 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 13:16:41 +00:00
Benjamin Bentmann a52a5e8623 o Updated API to detect unknown/bad packagings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800315 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 11:41:33 +00:00
Benjamin Bentmann ce6a726a03 [MNG-3043] Allow 'mvn test' to work with test-jar dependencies in a reactor
o Revised to consider reactor state

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800294 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 10:54:22 +00:00
Benjamin Bentmann 381cb0b904 o Tracked build success/failure for reactor projects in execution result
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800292 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 10:52:30 +00:00
Benjamin Bentmann 898653d5fc [MNG-4277] Remove core artifacts from ${plugin.artifacts}
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800140 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 19:39:21 +00:00
Benjamin Bentmann feea8084f6 o Fixed artifact filter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800109 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:21:31 +00:00
Benjamin Bentmann 09ade28c82 [MNG-4166] Problem parsing command-line options in release:perform
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800088 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 14:49:52 +00:00
Benjamin Bentmann 67a2275ac9 [MNG-4274] Plugins with an undeclared but transitive dependency on plexus-utils via a core artifact get wrong version of p-u
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800087 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 14:42:41 +00:00
Benjamin Bentmann 2ecdadb186 o Centralized class realm creation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799936 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 21:54:18 +00:00
Benjamin Bentmann 287a715954 o Removed authorative flag from repo, resolution just stops when the artifact's resolved flag is true
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799858 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 13:10:20 +00:00
Benjamin Bentmann ea10476bf9 o Fixed extension realm to consider project-level plugin dependencies as well
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799831 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 11:06:14 +00:00
Benjamin Bentmann b3f852ee64 o Displayed plugin realm upon linkage error
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799712 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 19:30:35 +00:00
Benjamin Bentmann 82005766ac o Removed authorative flag from artifact, we can just use the resolved flag to stop the resolution process
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799692 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 18:45:18 +00:00
Benjamin Bentmann f770dc82d6 [MNG-4269] [regression] Invocation of just installed plugin on its plugin project can fail with ComponentLookupException for mojo class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799680 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 18:11:57 +00:00
Benjamin Bentmann 899e37629b [MNG-4231] Snapshots are not checked for updates
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799592 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 12:49:40 +00:00
Benjamin Bentmann ce5af70026 o Fixed artifact filter to not exclude libs that the core doesn't actually provide
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799568 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 10:15:03 +00:00
Benjamin Bentmann c2078c65b1 o Enabled model cache
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799470 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 23:03:32 +00:00
Benjamin Bentmann 4e0896c825 o Removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799373 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 17:13:40 +00:00
Benjamin Bentmann 8f5a6bfe6f o Restored lifecycle forking
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799310 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 15:06:59 +00:00
Benjamin Bentmann 2563edc285 o Added toString() to ease debugging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799309 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 15:05:00 +00:00
Benjamin Bentmann 6dc7f104e2 o Restored forking to other mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799083 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 21:19:03 +00:00
Benjamin Bentmann 2f8d3981f9 [MNG-3814] Reactor builds fail due to erroneous cycle in project sorting which does not consider versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798906 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 13:48:19 +00:00
Benjamin Bentmann a9ea4c8b11 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798537 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 14:39:42 +00:00
Benjamin Bentmann a151c6c1a3 o Fixed NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798536 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 14:39:09 +00:00
Benjamin Bentmann fdb57e65ca o Cleaned up code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798504 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 12:27:10 +00:00
Benjamin Bentmann f9d5fb4c7a [MNG-2871] Subartifact (ejb-client, test-jar etc.) are not reselved as active project artifacts in build phases prior to package
[MNG-3043] Allow 'mvn test' to work with test-jar dependencies in a reactor

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798494 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 11:46:04 +00:00
Benjamin Bentmann 0cefc46991 [MNG-4262] Make-like reactor mode fails to find projects selected by relative paths with leading dots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798466 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 09:26:51 +00:00
Benjamin Bentmann e3f7710578 o Fixed TCCL handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798226 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 17:23:21 +00:00
Benjamin Bentmann 299a4c0843 [MNG-4052] import scope dependencies prefer to download pom rather than find it in the current project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798221 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 17:09:51 +00:00
Olivier Lamy b2a9420e63 remove unused imports.
fix license headers.
remove empty class.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797828 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 19:42:15 +00:00
Jason van Zyl d8ee29d10c o missed the tests, thanks subclipse
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797695 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 00:16:45 +00:00
Olivier Lamy 5ad174e3d6 [MNG-4247] Displaying which artifacts are downloaded and from which repo
Only displaying a simple : [INFO] Downloaded http://x.x.x.x:x/....... 
As there is so much places where ArtifactResolutionRequest is created without any access to mavenExecutionRequest.getTransferListener()
Issue id: MNG-4247


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797678 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:37:39 +00:00
Jason van Zyl aae5e98767 o limit system scoped resolution from interacting with repositories all together.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797675 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:32:28 +00:00
Olivier Lamy 606336da20 add missing license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797668 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:08:54 +00:00
Olivier Lamy 5d30af902f add missing license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797661 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 21:30:01 +00:00
Benjamin Bentmann 4286488981 o Polished API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797477 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 14:23:00 +00:00
Benjamin Bentmann f48d77ce5e o Made plugin version resolution more robust and ensured we fail fast upon resolution failure instead of some NPE in later execution steps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797239 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 21:50:49 +00:00
Benjamin Bentmann 88216c6532 o Re-introduced distinction between user properties and system properties. We have use cases like interpolation and SUREFIRE-121 where we would like to handle user-specified props specially so a single properties soup is not up to the job. However, I opted not to follow the approach from 2.x where we also collect both system properties and user properties in a combined set called execution properties. Code that embeds Maven and programmatically creates an execution request should be not required to assemble such a mixed properties instance, it would enable bad behavior from Maven by subtle API misuse. Also, for things like the lifecycle participant that wants to inject properties, it should be cristal clear whether it injects a user or a system property, the semantics of something like getExecutionProperties().setProperty() would be unclear however.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796900 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:43:05 +00:00
Benjamin Bentmann cec9b2002a o Fixed empty project building helper to pass request repos through if provided for tests that use them
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796864 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 20:13:24 +00:00
Jason van Zyl b69b4ab4f9 o add default plugin artifact repositories in the populator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796817 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 17:56:18 +00:00
Benjamin Bentmann c6eb6bd219 [MNG-4201] Custom packaging break in trunk (rev 784628)
o Restored compat with 2.x, both in terms of lifecycle configuration and API for implementors of custom mappings

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796801 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 17:15:50 +00:00
Benjamin Bentmann d0ca6d9490 o Fixed parsing of lifecycle mappings to account for version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796797 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 17:07:46 +00:00
Benjamin Bentmann 03c8b58235 o Fixed resolution of plugin default config. The project building request provides only the base set of repos, not the final set. In addition to the base set, the final repo list contains POM repos and repos from external profiles. Therefore, the MavenProject instance (which holds the final repo set) has to be queried for the repos.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796657 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 10:03:53 +00:00
Benjamin Bentmann 1329516567 o Added API docs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796656 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 10:00:43 +00:00
Benjamin Bentmann e40ffd98c1 o Added comment about internal status
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796640 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:28:11 +00:00
Benjamin Bentmann ddd5c13075 o Generified code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796637 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:21:11 +00:00
Jason van Zyl 3d9dea68d9 o using the same technique for the embedder as we are for the core tests
o trying on the grid and then i'll share a test jar


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796579 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 23:30:26 +00:00
Jason van Zyl d738d58150 o working on fixing the problem in the MavenTest where the remote repositories are not being set and causing the test to fail
when a clean local repository is used.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796569 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 22:28:54 +00:00
Jason van Zyl c5fb845b6b o make sure that the plugin repositories are propagated from the builder request and not from the MavenProject
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796420 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 18:02:07 +00:00
Benjamin Bentmann 043c8d6904 o Optimized performance by utilizing that project identity is based on g🅰️v which is just the map key
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795948 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 18:32:52 +00:00
Benjamin Bentmann 9a6561c6f6 o Optimized performance (the string concatenation in getId() severely affected ReactorArtifactRepository which in turn is heavily used for key calculation/comparision in the plugin & metadata cache)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795939 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 18:13:49 +00:00
Benjamin Bentmann df346c93b0 o Tweaked log output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795610 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 21:12:29 +00:00
Benjamin Bentmann 01f7692db0 o Replaced usage of StringBuffer with StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795584 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:20:09 +00:00
Benjamin Bentmann 12ea9f5244 o Deprecated Settings.getMirrorOf() which is neither up-to-date nor used (merged from r795521)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795522 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 11:54:43 +00:00
Benjamin Bentmann fd2ee03635 [MNG-4246] plugin resolution failures during pom-less execution (like archetype:generate)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795353 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 12:31:23 +00:00
Benjamin Bentmann 70ae109093 o Added method to clone/fork model resolver which is a prerequisite for importing other POMs/mixins during the model building where the model builder basically recurses and we want the resolution processes for these sub POMs to be isolated
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795227 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 21:07:11 +00:00
Benjamin Bentmann ef13f229e8 o Fixed project realm handling to be more embedder friendly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795206 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 19:48:57 +00:00
Benjamin Bentmann 8efe10c89e [MNG-4244] Allow to select project for make-like reactor by artifact id
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795147 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 17:11:57 +00:00
Benjamin Bentmann 72cd95fb36 [MNG-2576] Make Like Reactor Mode
o Restored project selection by groupId:artifactId

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795128 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 16:12:56 +00:00
Benjamin Bentmann ec440de1de [MNG-2576] Make Like Reactor Mode
o Restored resume-from

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795062 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 12:10:38 +00:00
Benjamin Bentmann df47b11957 [MNG-2576] Make Like Reactor Mode
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794043 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:03:15 +00:00
Benjamin Bentmann 1759fb3979 o Consolidated all inputs of the model builder in the building request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793891 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 12:54:16 +00:00
Benjamin Bentmann 42340c1b92 o Used project realm during dependency resolution
o Fixed NPEs

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793871 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 12:00:05 +00:00
Benjamin Bentmann 2caa6b5112 o Introduced project realm to host build extensions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793844 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 10:44:44 +00:00
Benjamin Bentmann d8ff78d643 o Fixed lifecycle mapping config
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793649 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 18:29:01 +00:00
Benjamin Bentmann d56f9e13bb o Fixed NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@792721 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 21:47:54 +00:00
Benjamin Bentmann 52519425f7 o Restored reactor failure behaviors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@792111 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 12:23:46 +00:00
Benjamin Bentmann e083752b39 o Added comment about design weakness
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790714 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 19:20:06 +00:00
Benjamin Bentmann abca2a5252 o Moved model builder classes into dedicated package such that o.a.m.model is reserved for the generated Modello classes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790350 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:04:48 +00:00
Benjamin Bentmann ed6ff2be82 o Propagated new validator API up to project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790344 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 19:52:37 +00:00
Benjamin Bentmann 2b44c968f0 o Extended model validator to support more than two validation levels
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790338 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 19:33:40 +00:00
Benjamin Bentmann efd3309e99 o Made warning more prominent and clear
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790206 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 15:09:35 +00:00
Benjamin Bentmann 512d83070a [MNG-4173] Remove automatic version resolution for POM plugins
o Reduced validation error to warning because this change seems to cause troubles for many projects out there
o Extended lifecylce executor to take care of non-versioned plugins

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790202 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 14:55:06 +00:00
Benjamin Bentmann 22516c9fa7 o Extended model validation to support distinction between warnings and errors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790131 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 11:56:44 +00:00
Benjamin Bentmann accb45543f [MNG-4224] maven lifecycle participant
Submitted by: Igor Fedorenko

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789993 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 22:36:30 +00:00
Jason van Zyl e0d29fe6a3 o take out maven-repository until the compat module is separated again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789544 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:33:53 +00:00
Jason van Zyl fb1c53d6da MNG-4221: putting the repository and compat modules together while completely hide the legacy implementation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789541 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:04:34 +00:00
Benjamin Bentmann b6f19629ed o Re-enabled reactor collision detection
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789091 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 11:56:35 +00:00
Jason van Zyl 1cef292135 MNG-4221: Another pass over making maven-compat only used by external consumers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789080 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 09:46:11 +00:00
Benjamin Bentmann 84bfe465ef o Moved the toolchains into the core to allow proper testing of the core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789006 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 18:18:46 +00:00
Benjamin Bentmann edbbc2027e o Restored mojo context passing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788982 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 14:40:25 +00:00
Benjamin Bentmann 2138a248af [MNG-4215] Review and fix hashCode/equals methods of ArtifactRepository implementations
Submitted by: Igor Fedorenko

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788798 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 18:02:19 +00:00
Benjamin Bentmann c8f94b4eaf o Improved error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788375 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 15:00:20 +00:00
Benjamin Bentmann 5a8e3f08c2 o Allowed access to logger by integrators like Tycho
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788154 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 19:40:29 +00:00
Benjamin Bentmann 01f1ae9b5d o Fixed NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788108 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 18:25:58 +00:00
Olivier Lamy ccd2cd2e1a more details on the NPE cause.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787114 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 23:38:51 +00:00
Benjamin Bentmann d90f22f338 [MNG-1491] Reactor should print out a message if it detects a collision of artifact ids
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787072 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 19:26:00 +00:00
Benjamin Bentmann c17c9564cc [MNG-3641] Lack of error checks on profiles
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787045 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 16:06:02 +00:00
Jason van Zyl ea5445af38 MNG-4216: Remove all direct usage of DefaultArtifactRepository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786995 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 11:39:10 +00:00
Benjamin Bentmann 262ff7908f [MNG-4214] [regression] Parent POMs cannot be resolved from mirrored repos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786910 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 21:22:54 +00:00
Benjamin Bentmann 4f2c5b4511 o Fixed mirror handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786899 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 19:58:58 +00:00
Benjamin Bentmann 2260cb2f58 o Fixed buggy anti-pattern
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786892 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 19:39:56 +00:00
Benjamin Bentmann 12fbba751a [MNG-4041] embedder returns stale maven project state
Submitted by: Igor Fedorenko

o Committed additional patch with bugfixes including minor modifications:
  - used LinkedHashSet instead of HashSet/TreeSet
  - added missing license headers

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786882 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 18:56:26 +00:00
Benjamin Bentmann 6a63fb495f o Removed super POM handling from project builder and did a proper call to the model builder instead
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786853 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 16:40:21 +00:00
Benjamin Bentmann 7f526ca65d o Extended model builder to report the ids of the models from the lineage and used these ids as keys to pull infos from the building result
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786838 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 15:00:45 +00:00
Benjamin Bentmann 1c0a588c90 [MNG-4041] embedder returns stale maven project state
Submitted by: Igor Fedorenko

o Committed additional patch with bugfixes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786811 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 13:17:36 +00:00
Benjamin Bentmann 93f90df0de [MNG-4191] separate plugin and artifact repositories
o Updated test setup

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786791 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 10:32:11 +00:00
Benjamin Bentmann 34580df645 [MNG-4191] separate plugin and artifact repositories
o Extended requests to allow for configuration of plugin repos

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786790 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 10:29:51 +00:00
Benjamin Bentmann 14960422e0 o Fixed test setup and re-enabled test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786578 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 16:50:11 +00:00
Benjamin Bentmann f755552cbe o Fixed artifact filtering
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786212 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 19:19:32 +00:00
Benjamin Bentmann fc9b20303c [MNG-2293] maven-plugin-descriptor: Not possible to define a default implementation for a field defined by its interface
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785804 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 21:09:59 +00:00
Benjamin Bentmann 962b2e233c [MNG-3012] ClassCastException due to plexus-utils NOT being filtered during plugin loading
o Restored fix

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785783 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 20:37:02 +00:00
Benjamin Bentmann a51aba1cd6 [MNG-4208] [regression] CLI properties can't override project properties during interpolation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785752 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 18:44:19 +00:00
Benjamin Bentmann 3843481a3b o Fixed order of inherited plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785644 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 15:00:06 +00:00
Benjamin Bentmann 38ecf699e3 o Decoupled tests from super POM's plugin management
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785639 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 14:54:31 +00:00
Benjamin Bentmann 114cbf2d4a o Fixed plugin version&prefix resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785565 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 11:59:15 +00:00
Olivier Lamy 0852f8d21d fix possible NPE as filter can be null (dependency:tree)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785405 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 21:11:33 +00:00
Benjamin Bentmann 17d876713c o Restored backward-compat regarding the lenient handling of the type of remote repositories provided to the project builder (this code is limited to the compat level so doesn't pollute clients of the new APIs)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785389 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 20:51:09 +00:00
Benjamin Bentmann be6ec8844e [MNG-4203] [regression] Dependency exclusions are not applied transitively
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785362 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 20:07:34 +00:00
Jason van Zyl 88cc8d652b o restoring a primitive version of the createArtifacts, need to refactor the MMS to make this work correctly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785300 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 17:08:36 +00:00
Benjamin Bentmann cd9056d1fd o Kept active external and POM profiles separate in model building result
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784583 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 16:46:16 +00:00
Benjamin Bentmann 05a782b347 [MNG-4199] [regression] Dependency resolution for compile and runtime scope misses provided&system dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784480 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 21:53:18 +00:00
Benjamin Bentmann ef1445e0d8 o Fixed CLI invovations of plugins with project-level plugin dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784452 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 19:01:23 +00:00
Benjamin Bentmann e743f23a6a o Fixed handling of version ranges
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784438 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 17:32:12 +00:00
Benjamin Bentmann 0a4f0ebb35 o Fixed dependency resolution from reactor to pick up attached artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784405 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 15:07:27 +00:00
Benjamin Bentmann 2a9cd6f73d [MNG-4196] [regression] Exclusions in project-level plugin dependencies are ignored
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784371 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 11:09:36 +00:00
Olivier Lamy cb7055ea31 remove empty files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784344 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 06:49:39 +00:00
Olivier Lamy f83dfffbf7 add missing license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784341 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 06:37:33 +00:00
Olivier Lamy 1a929c372e add missing license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784340 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 06:35:11 +00:00
Jason van Zyl 7cede8d841 o just leaving the logic there for the transitive global exclude
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784300 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 22:38:33 +00:00
Benjamin Bentmann 3eb4ffb445 [MNG-4180] [regression] Dependency exclusions are applied globally
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784296 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 22:16:16 +00:00
Olivier Lamy d5eae80ab1 restore display of two build properties (as in 2.x) :
- svn rev 
- build timestamp

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784274 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 21:09:06 +00:00
Benjamin Bentmann 8a43011d41 [MNG-4005] Throw Validation Error if pom contains a dependency with two different versions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784241 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 19:22:41 +00:00
Benjamin Bentmann 425f632772 o Restored backward-compat with regard to handling of duplicate dependencies during metadata retrieval
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784227 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 18:45:37 +00:00
Benjamin Bentmann 60496472c7 [MNG-4190] same remote repo is referecned multiple times
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784210 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 17:29:44 +00:00
Benjamin Bentmann 8ea0c6f06b [MNG-2562] expose current time as a property for POM interpolation
o Fixed timestamp handling, was meant to be per reactor, not per module

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783860 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 17:41:25 +00:00
Benjamin Bentmann e72965d38e [MNG-2562] expose current time as a property for POM interpolation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783808 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 15:01:55 +00:00
Jason van Zyl 47b77c1df6 o removing an exception not used
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783651 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 07:08:21 +00:00
Benjamin Bentmann db5d449c33 o Fixed inheritance of <developers>, <contributors>, <licenses> and <mailingLists>
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783556 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 22:30:55 +00:00
Benjamin Bentmann 424b7ef1b0 o Fixed inheritance of <prerequisites>
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783542 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 22:02:56 +00:00
Olivier Lamy 12bc6dad0e don't filter doxia-sink-api. users will be still able to run : mvn site:site
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783525 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 21:30:40 +00:00
Benjamin Bentmann 76b76af968 [MNG-3401] Plugin parameters must be specified outside an execution block when they are invoked from the command line
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783520 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 21:08:44 +00:00
Benjamin Bentmann ea7d1088e9 [MNG-4191] separate plugin and artifact repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783480 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 20:03:29 +00:00
Benjamin Bentmann 6c4561f7ed o Fixed handling of project-level plugin dependencies. The plugin realm is a function of g🅰️v and plugin dependencies. Given that the plugin realm is bound to the plugin descriptor, the plugin descriptor also becomes a function of g🅰️v and plugin dependencies. So when looking up a mojo/plugin descriptor, the g🅰️v is not sufficient.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783463 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 19:31:28 +00:00
Jason van Zyl 864ea15216 o refactoring the way plugin prefix metadata is found. the lifecycle executor is not the right place for this and the plugin manager is now strictly for already fully configured executions. so it belongs somewhere specific to augmenting the base set of information in order to make it complete but this first pass will do here. i just want to check it in as well because i'm traveling.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783361 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 13:40:14 +00:00
Benjamin Bentmann 5cde8bfe4b [MNG-4193] Throw validation error upon multiple repository declarations with the same id
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782796 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 21:38:45 +00:00
Benjamin Bentmann 2ec6f400be [MNG-4041] embedder returns stale maven project state
Submitted by: Igor Fedorenko

o Applied extension to initial patch

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782776 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 20:43:06 +00:00
Benjamin Bentmann 76e9387f5d o Fixed propagation of project-level plugin dependencies by directly associating the mojo execution with the originating plugin instance. The key difference between a plugin instance and the g🅰️v triplet are the dependencies in the plugin instance which can't be easily reconstructed from just the g🅰️v but are crucial for construction of the plugin realm.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782377 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 12:16:46 +00:00
Benjamin Bentmann d07123e796 o Fixed model building to account for default values that can't be set in the MDO. The use case we have for this is the scope for dependencies: Setting this in the MDO would cause injection of the default in the raw model and would interfere with the superposition of dependency management. The 2.x code handles this via a side effect of MavenMetadataSource.createArtifact() which doesn't look like a clean way to go.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782376 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 12:12:54 +00:00
Benjamin Bentmann 958f69c50f o Added license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782355 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 09:34:18 +00:00
Benjamin Bentmann 8eedb83477 o Improved exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782281 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 17:21:56 +00:00
Benjamin Bentmann 4ce1eff76e o Fixed tests to lookup IT plugins from the proper repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782246 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 12:50:22 +00:00
Benjamin Bentmann 97e57944f8 o Improved propagation of parse errors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782243 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 12:37:34 +00:00
Benjamin Bentmann b273dab333 o Fixed aggregation of remote repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782231 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 11:35:57 +00:00
Benjamin Bentmann 73f3c915d1 o Decoupled project building request from model building request
o Moved model resolver into model building request

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782223 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 10:38:42 +00:00
Jason van Zyl f4379a47e8 o missing bits of Igor's patch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782059 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 16:41:07 +00:00
Jason van Zyl 67297ad557 o missing components from the MNG-4041 commit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782019 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 14:02:49 +00:00
Jason van Zyl 09f970f178 MNG-4041: maven core returns stale project state during extended use. this is a patch which provides intelligent caching and yields a very substantial performance improvement.
Submitted by: Igor Fedorenko



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782014 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 13:49:25 +00:00
Jason van Zyl 1c0892fa04 o moved the RuntimeInformation component to the compat package. The maven-eclipse-plugin is currently using it. But for building your own projects the enforcer plugin is more appropriate for making sure the version intended for the project's use is being used.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781202 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 22:53:47 +00:00
Jason van Zyl 77c240c49e o deal with no pom being used for execution correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781197 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 22:43:41 +00:00
Benjamin Bentmann 370660ec9a o Fixed handling of project directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781119 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 18:47:33 +00:00
Benjamin Bentmann 753f4897a3 o Restored original behavior of legacy code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781108 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 18:07:47 +00:00
Benjamin Bentmann c8a5c2d89a o Renamed packages for consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780763 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 18:06:17 +00:00
Benjamin Bentmann 6548d31804 o Saved raw model in project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780640 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 13:15:46 +00:00
Benjamin Bentmann 26a35db0c7 o Introduced ModelBuilder component that now hosts most of the logic from the project builder to construct the effective model. With maven-model-builder we now should have a rather slim module that tools can re-use for building models. The project builder is simply layered on top of the model builder.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780627 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 12:17:53 +00:00