Commit Graph

5721 Commits

Author SHA1 Message Date
John Dennis Casey 6d3984551c OPEN - issue MNG-2671: Parent/modules relative file path compression
http://jira.codehaus.org/browse/MNG-2671

Applied, with small changes so it will not swallow exceptions. If this causes a problem with broken symlinks, we can address that later.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543682 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 00:43:15 +00:00
Carlos Sanchez Gonzalez 6d69087ae9 [MNG-2943] Avoid using package names used in other artifacts: add some comments
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543671 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 00:06:11 +00:00
Carlos Sanchez Gonzalez 53acf2858f [MNG-2943] Avoid using package names used in other artifacts: org.apache.maven
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543670 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 00:05:35 +00:00
Carlos Sanchez Gonzalez 46e5b38635 [MNG-2943] Avoid using package names used in other artifacts, configure the bundle plugin to ignore deprecated packages
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543666 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:38:41 +00:00
Carlos Sanchez Gonzalez 1bd449b2f1 [MNG-2943] Avoid using package names used in other artifacts: org.apache.maven
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543664 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:36:54 +00:00
Carlos Sanchez Gonzalez d050220b39 [MNG-2943] Avoid using package names used in other artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543657 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:12:33 +00:00
Carlos Sanchez Gonzalez 1891c6abc0 [MNG-3013] The plugin manager incorrectly caches plugin versions between embedder calls, added test case that doesn't show the wrong behaviour yet
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543655 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:07:00 +00:00
John Dennis Casey f136fa7ace OPEN - issue MNG-2619: building from the middle pom of a (parent,child,grandchild) heirarchy fails
http://jira.codehaus.org/browse/MNG-2619

Added tests from the included patch. Main code didn't apply any longer, but this shows that the new ModelLineageBuilder code solves the problem. Will apply the original patch to the 2.0.x branch...

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543637 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 22:10:03 +00:00
John Dennis Casey dce22c78fb OPEN - issue MNG-2503: mvn.bat file is not correct for 4NT 5.0 and does "endlocal" twice if error
http://jira.codehaus.org/browse/MNG-2503

Applying the patch, even though it's not a patch...I was able to generate one using the supplied file and the current mvn.bat file from the trunk.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543621 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 21:21:43 +00:00
Jason van Zyl 1a0b546e7f MNG-2690 Some maven-project tests fail under maven-surefire-plugin 2.3
Submitted by: Mark Hobson


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543614 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 21:01:48 +00:00
Jason van Zyl b4f380dd3c MNG-2683 Better exception messages
Submitted by: Mark Lundquist


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543604 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 20:46:48 +00:00
John Dennis Casey 5401fb4c64 OPEN - issue MNG-2784: Multiple executions of the same plugin at the same life cycle phase in a multi-module profile mixed up
http://jira.codehaus.org/browse/MNG-2784

NOT applying this patch, as there is a much simpler solution. The processing is currently in the correct order, so all we need to do is make sure the Map.values() method retains this order. Therefore, I changed the Map implementation for plugin executions to LinkedHashMap.

I've also added a test for this issue...

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543599 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 20:35:44 +00:00
John Dennis Casey 09553c6ff3 REOPENED - issue MNG-1910: Allow jdk 1.4+ as profile requirement
http://jira.codehaus.org/browse/MNG-1910

Applied.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543579 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 19:12:58 +00:00
Jason van Zyl e12fbd08e9 o fix typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543382 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 04:19:59 +00:00
Jason van Zyl 6db368df4e MNG-1849 Fix Extension.hashCode() throwing NPE if groupId or artifactId is null
Submitted by: David Hawkins



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543381 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 03:47:31 +00:00
Jason van Zyl 6cb79190cd MNG-2813: Fix OutOfMemoryError when using profiles and pom inheritance
Submitted by: Jochen Kuhnle


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543373 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 03:11:29 +00:00
Jason van Zyl f2f86285a3 MNG-2687 prevent windows from potentially crapping out with long POM names
Submitted by: Stepan Roh


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543361 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 02:29:24 +00:00
Jason van Zyl 82146b83f0 MNG-2921 Fixing the ejb-client dependency problem introduced by MNG-1577
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543349 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 01:31:29 +00:00
John Dennis Casey d25dd879f3 OPEN - issue MNG-3027: forked execution does not get configuration from the POM
http://jira.codehaus.org/browse/MNG-3027

Adding reporting section to sources of plugin configuration when mojos are forked from a report mojo. Also, improving detection/addition of report mojos from a plugin, when no report-set is defined.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543308 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 23:11:47 +00:00
Jason van Zyl 78aa1f1879 MNG-2347 MavenExecutionRequest.getBaseDirectory() should be propagated to the ${basedir} expression
Submitted by: Ovidio Mallo


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543240 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 19:59:38 +00:00
John Dennis Casey da10710224 it0114 worked for me on the last run. Seems I had an updating issue for the bootstrap, since my M2_HOME was pointing at a linked directory, not a real one (ant's delete task doesn't like that, apparently).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543190 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 17:42:47 +00:00
John Dennis Casey 2f49e47227 OPEN - issue MNG-3012: ClassCastException due to plexus-utils NOT being filtered during plugin loading
http://jira.codehaus.org/browse/MNG-3012

Removing some debug output that will be quite noisy...

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543189 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 17:30:41 +00:00
John Dennis Casey dc2f469a10 [MNG-3012] Adding an import for Xpp3Dom from plexus-utils in maven-core to plugin realms, to prevent ClassCastException when they call plugin.getConfiguration() from maven-model objects.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543187 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 17:28:23 +00:00
John Dennis Casey 4c175033e8 formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@542736 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 03:02:03 +00:00
John Dennis Casey a866905cb4 Fixing issue with different lifecycles getting in the way of one another, as when `mvn clean install` on a maven-plugin project catches the clean:clean binding from the clean lifecycle, and knocks out the plugin:descriptor binding from the beginning of the default lifecycle.
Plugins can now be built using maven trunk once again.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@542734 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 03:00:40 +00:00
Kenney Westerhof 38b12ace0c Remove PathTranslator duplicate component as it's declared in maven-project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@542316 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 20:30:06 +00:00
Kenney Westerhof 93801e2888 Remove duplicate component declaration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@542315 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 20:27:24 +00:00
John Dennis Casey ac5f47115b Fixing a couple small things having to do with reports that fork.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541999 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 16:47:09 +00:00
Carlos Sanchez Gonzalez 7b5bac791a Upgrade snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541965 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 05:45:18 +00:00
John Dennis Casey e58f2094ab Fixing it0027...I had end-fork and clear-fork-context mixed up.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541951 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 23:47:59 +00:00
John Dennis Casey 008d6943bc Fixed forking from reports.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541950 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 23:37:35 +00:00
John Dennis Casey a55e9c24fe Making resolution of artifacts from the reactor work with classifiers (hopefully).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541942 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 21:22:10 +00:00
John Dennis Casey 856767d7f8 Fixing late-bound plugin resolution mojo definition.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541941 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 21:21:28 +00:00
John Dennis Casey 10febbbda0 Replaced old build-plan mess with a single recursive plan instance that tracks direct invocation forks as well as lifecycle forks. All unit tests run, and I'm running integration tests now, to see if this fixes it0013.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541938 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 21:06:12 +00:00
John Dennis Casey 4c3d71313b Preparing to refactor the build-plan stuff to make it a little less complex and more usable...and to re-activate late-binding of plugins when necessary.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541512 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 02:06:24 +00:00
Vincent Siveton a66be7f905 MNG-2461: Write JavaDoc documentation
o added some Javadoc
o no code change

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541188 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 05:45:26 +00:00
Vincent Siveton 2cd10e1343 merged 541186 from branch (MNG-2461: Write JavaDoc documentation)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541187 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 05:44:44 +00:00
Vincent Siveton cc427b82c0 o merged r541157 from branch (reformat before working on MNG-2461)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541158 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 04:33:20 +00:00
Vincent Siveton b88762449b merged r541152 from branch (MNG-2461: Write JavaDoc documentation)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541153 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 04:17:41 +00:00
Vincent Siveton cbe352c888 o merged r541141 from branch (reformat before working on MNG-2461)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541142 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 02:44:59 +00:00
Carlos Sanchez Gonzalez 7141f4e05a [PLX-340] Embedder logging manager is ignored
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@540393 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 02:03:56 +00:00
Carlos Sanchez Gonzalez a7bd6cc320 [MNG-2936] Upgrade plexus-utils to solve quoting issues on windows
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@539925 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 19:52:03 +00:00
Kenney Westerhof 1408ae3f19 Update to released version; fix booty
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@538047 13f79535-47bb-0310-9956-ffa450edef68
2007-05-15 02:59:20 +00:00
Carlos Sanchez Gonzalez c8f8fef6a6 [MNG-2985] DefaultWagonManager does not safely remove TransferListeners from the wagon
Submitted By: Abel Muiño

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@538041 13f79535-47bb-0310-9956-ffa450edef68
2007-05-15 02:14:25 +00:00
John Dennis Casey 44c006ff2a Fixing plugin manager/plugin version manager for use with the help plugin...restoring backward compat.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@536027 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 00:06:19 +00:00
Jason van Zyl 11a113d316 o we simply can't survive right now without inserting plexus utils, we just have too many builds without
declared dependencies on it
o cleaning up some unused stuff from the bootstrap


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@534974 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 19:50:08 +00:00
Carlos Sanchez Gonzalez d985970c2a Fix failing test in cygwin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@533235 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 21:40:00 +00:00
Carlos Sanchez Gonzalez a8dc22d0f1 The codehaus releases repo shouldn't be needed as it's synced to central
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@533226 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 21:20:02 +00:00
Carlos Sanchez Gonzalez 0efdb9d1e1 [MECLIPSE-262] Add plexus-component-api to dependencyManagement to ensure the version used
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@533225 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 21:19:29 +00:00
Carlos Sanchez Gonzalez 6339d39f7c Added OSGi manifest generation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@533201 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 19:59:54 +00:00