Commit Graph

2108 Commits

Author SHA1 Message Date
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