Commit Graph

8477 Commits

Author SHA1 Message Date
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
Daniel Fabulich 7e24255ab4 [MARTIFACT-19] DefaultArtifactInstaller should only overwrite files if timestamp has changed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808537 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 17:09:42 +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 3badf71251 [MNG-3991] POM validator allows <scope>optional</scope> but it is not valid
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808364 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 10:57:11 +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 e3c477e887 o Improved readability of log output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808183 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 20:49:20 +00:00
Benjamin Bentmann 8ce8b462d0 o Added validation error upon bad scope for plugin dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808182 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 20:48:48 +00:00
Olivier Lamy 640380eb49 use resources plugin released version (2.4)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808171 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 20:22:14 +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 35101ed744 o Restored legacy methods for backward-compat with existing plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807742 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:15:20 +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 8b381cdbd6 o Fixed model builder to expand plugin management configuration, too
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807669 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 15:25:42 +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 c7142215c2 o Fixed generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807144 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 10:45:58 +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 9d87933ca3 o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806542 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 13:20:50 +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 25e35e3265 o Updated to maven-remote-resources-plugin:1.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806464 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 08:56:59 +00:00
Benjamin Bentmann c8bff4412a o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806336 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 20:11:15 +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 68ca923fb5 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805960 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 20:19:07 +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