Commit Graph

8130 Commits

Author SHA1 Message Date
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 c0f98e60b2 o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803140 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 14:52:38 +00:00
Benjamin Bentmann 1267d975bd o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803107 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 13:13:48 +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 483a0d1f90 o Fixed bad protocol & basedir after mirroring
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803057 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 10:24:33 +00:00
Benjamin Bentmann 497a490d0f o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802780 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:12:36 +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 b2f8107e3f o Removed unused property
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802421 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 17:00:30 +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 b3a4fcc490 o Extended validation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801987 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 13:13:30 +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 95632cef43 [MNG-3769] [regression] Excluding relocated transitive dependencies does not work
o Merged from r736543

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801760 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 18:30:33 +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 480dd49f8d [MNG-4281] remote snapshots are prefered over locally installed snapshots in maven3 svn rev 800808
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800922 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 19:05:43 +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 23862001bd o Improved validation message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800495 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 19:05:18 +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 62e07ca349 o Refactored model building components to use problem collector
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800468 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 17:15:11 +00:00
Benjamin Bentmann bbc25fe83b o Removed dead class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800462 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 16:45:32 +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 f4fa9e3838 o Refactored model validator to use problem collector
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800451 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 16:20:06 +00:00
Benjamin Bentmann c612913a70 o Refactored profile selector to use problem collector
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800426 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 15:30:37 +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 db0e7f7407 o Fixed URL logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800117 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:50:29 +00:00
Benjamin Bentmann a907343a61 o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800110 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:21:57 +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