Commit Graph

1910 Commits

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