Commit Graph

2638 Commits

Author SHA1 Message Date
Jason van Zyl ebf2e4ddea Merge branch 'eclipse-aether' of github.com:tesla/tesla-build into eclipse-aether
Conflicts:
	.gitignore
	pom.xml
2013-03-14 13:03:31 -07:00
Stuart McCulloch 2c2bf6e6e5 Use Eclipse/Sisu 0.0.0.M2 milestone
Signed-off-by: Jason van Zyl <jason@tesla.io>
2013-03-13 08:49:00 -04:00
Igor Fedorenko 9b58a3cfdc MNG-5444 fixed building MavenProject from ModelSource
To maintain compatibility with (the extremely unlikely) existing
implementations of ModelSource, the new API methods are provided
via optional ModelSource2 interface. Updated javadoc to encourage
use of the new API.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-03-03 22:03:50 -05:00
rfscholte f6f4ef5e03 [MNG-3131] Error message is misleading if a missing plugin parameter is of a type like List 2013-03-01 16:14:22 +01:00
Jason van Zyl de40fe19a8 o update for changes in Aether APIs 2013-02-16 22:48:55 -05:00
rfscholte 56cd921fbd MNG-3131: Error message is misleading if a missing plugin parameter is of a type like List 2013-02-16 14:49:19 +01:00
Jason van Zyl 137cbd8a97 Merge branch 'trunk' into eclipse-aether
Conflicts:
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
	maven-aether-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java
	maven-aether-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java
	maven-core/src/main/java/org/apache/maven/DefaultMaven.java
	maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java
	maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixResult.java
	maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
	pom.xml
	src/site/site.xml
2013-02-14 22:08:26 -05:00
Jason van Zyl 27ad9858d2 Merge branch 'aether' of github.com:bentmann/maven-3 into eclipse-aether
Conflicts:
	.gitignore
	apache-maven/pom.xml
	maven-aether-provider/pom.xml
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSession.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenServiceLocator.java
	maven-aether-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java
	maven-artifact/pom.xml
	maven-compat/pom.xml
	maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
	maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
	maven-core/pom.xml
	maven-core/src/main/java/org/apache/maven/DefaultMaven.java
	maven-core/src/main/java/org/apache/maven/ReactorReader.java
	maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
	maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java
	maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml
	maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
	maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
	maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
	maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
	maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
	maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
	maven-embedder/pom.xml
	maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
	maven-model-builder/pom.xml
	maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
	maven-model/pom.xml
	maven-plugin-api/pom.xml
	maven-plugin-api/src/main/mdo/plugin.mdo
	maven-plugin-api/src/site/apt/index.apt
	maven-repository-metadata/pom.xml
	maven-settings-builder/pom.xml
	maven-settings/pom.xml
	pom.xml
	src/site/site.xml
2013-02-14 20:21:50 -05:00
Benjamin Bentmann 4fdcdbd262 Followed change to DependencyNode.getPremanaged*() 2013-02-10 19:11:11 +01:00
Hervé Boutemy 720bef7df7 [MNG-5181] renamed *simple* local repository *manager* to *legacy* local
repository
2013-02-09 15:43:00 +01:00
Hervé Boutemy 114c98f310 [MNG-5181] added a warning when enhanced local repository manager is
disabled: this should be avoided
2013-02-04 01:27:53 +01:00
Benjamin Bentmann b5e0532310 Updated for latest ConflictResolver 2013-02-03 20:44:44 +01:00
Hervé Boutemy 5d06bc6a25 fixed typo 2013-02-02 16:59:20 +01:00
Hervé Boutemy 71dd7f3d2a code formatting 2013-02-02 16:52:16 +01:00
Hervé Boutemy 7196f82ff2 improved javadoc 2013-02-02 09:40:06 +01:00
olivier lamy 27f8b0f81a [MNG-5185] [MNG-5181]
add cli flag to be able to remove use of EnhancedLocalRepositoryManager.
2013-02-01 00:35:46 +01:00
Kristian Rosenvold 176a85f43c Fixed line feeds, added .gitattributes 2013-01-29 16:27:02 +01:00
Benjamin Bentmann 3916201b98 Used improved conflict resolver 2012-12-29 22:25:25 +01:00
Hervé Boutemy 3849bbd46a fixed errors reported by Checkstyle 2012-12-16 21:49:18 +01:00
Hervé Boutemy 915b1553f2 changed MavenModelMerger extensions visibility to protected to improve
documentation
2012-12-15 21:12:22 +01:00
Hervé Boutemy 87952bd073 added link to Plexus Classworlds 2012-12-12 17:37:03 +01:00
Hervé Boutemy 3d4a06c700 added ClassRealmManager entry point 2012-12-12 01:57:02 +01:00
Hervé Boutemy d6544c4814 reverted change that got in previous commit by inadvertance 2012-12-08 17:47:12 +01:00
Hervé Boutemy 23bd8d98a6 added @since info 2012-12-08 16:05:37 +01:00
Hervé Boutemy ac213ec571 [MNG-5245] updated maven-site-plugin to 3.2 2012-12-03 23:27:47 +01:00
Hervé Boutemy b63904c9db fixed errors reported by Checkstyle (once again...) 2012-12-03 02:21:58 +01:00
Hervé Boutemy 543870467f fixed errors reported by Checkstyle 2012-12-02 20:22:52 +01:00
Hervé Boutemy 71a8427df6 code formatting 2012-12-02 12:38:12 +01:00
Kristian Rosenvold 75ea1e4297 [MNG-5208] Parallel (-T option) multi module build fires wrong project failed event
Patch by Stefan Eder , applied with minor modifications
2012-12-02 11:05:37 +01:00
Hervé Boutemy fee1640d65 [MNG-5395] don't inject DefaultMavenPluginManager's logger into Mojos
but create a dedicated logger with Mojo implementation name
2012-12-01 04:27:23 +01:00
Kristian Rosenvold a278bec9d3 o Fixed another super-subtle classloader leak 2012-11-30 11:46:23 +01:00
Kristian Rosenvold 2103c82d57 o Changed array to atomicreference since arrays are not thread-safe 2012-11-30 07:33:31 +01:00
Jason van Zyl 97e8ae2737 - wind this back to version 2.2 2012-11-29 08:47:44 -08:00
Herve Boutemy 614e7bd173 separate SLF4J export from JSR-330
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413416 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 21:02:47 +00:00
Jason van Zyl d3756b95cc MNG-5381: Restore MavenSession.getRepositoryCache() for Tycho users so they are not forced to upgrade to 3.1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413391 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 19:09:44 +00:00
Herve Boutemy 9009b8f858 fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413335 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 11:04:16 +00:00
Jason van Zyl 451c43152b cleanup of the class realm purging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413287 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 03:12:49 +00:00
Benson Margulies 1d4d1df865 MNG-5387: Add ability to replace an artifact in mid-build
o change MavenProject#addArtifact to use the *last* version of a given artifact passed to it instead of the first.
o add comments.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413286 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 02:26:42 +00:00
Herve Boutemy 4e52800a1b [MNG-5380] check that whitespace can be preserved in Maven plugin configuration when building MavenProject (still need to check if content is not trimmed when injected into plugin)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1412310 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 21:36:19 +00:00
Kristian Rosenvold b766d34b70 [MNG-5245] Update maven plugin versions
- components.xml
  - maven-clean-plugin up to 2.5
  - maven-site-plugin up to 3.1
- default-bindings.xml
  - maven-install-plugin up to 2.4
  - maven-resources-plugin up to 2.6
  - maven-compiler-plugin up to 2.5.1
  - maven-surefire-plugin up to 2.12.4
  - maven-jar-plugin up to 2.4
  - maven-plugin-pugin up to 3.2
  - maven-war-plugin up to 2.3
  - maven-ear-plugin up to 2.8

Author:    Karl Heinz Marbaise <info@soebes.de>

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1410570 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 21:09:49 +00:00
Herve Boutemy a8a59d6e13 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407893 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 22:15:18 +00:00
Herve Boutemy 994a27d004 removed code duplication: maven-core can use base MavenRepositorySystemSession provided by maven-aether-provider as a basis before adding environment configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407851 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 17:14:21 +00:00
Herve Boutemy 13bb4ba1be removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407835 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 15:26:34 +00:00
Herve Boutemy 09750f1a78 generics
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407834 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 15:25:30 +00:00
Herve Boutemy 3cbed6a1ca [MNG-5372] removed RepositoryCache, added in 3.0-alpha-3 and deprecated in 3.0-beta-3 with Aether integration (r988749)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407827 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 15:04:20 +00:00
Herve Boutemy 6c032edddb |MNG-5370] moved plugin bindings to default lifecycle configuration to default-bindings.xml to let only artifact handlers configuration in artifact-handlers.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407821 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 14:21:58 +00:00
Herve Boutemy 3bab630d58 little explanation improvement
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407757 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 11:04:38 +00:00
Herve Boutemy 4758085459 ordering
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402784 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 11:54:00 +00:00
Herve Boutemy 98944027a5 removed unused @SuppresWarnings
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402781 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 11:24:12 +00:00
Herve Boutemy 9a2b77d8be fixed warnings
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402780 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 11:15:58 +00:00
Herve Boutemy 390122c170 restore Java 5 API compatibility
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402776 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 10:19:32 +00:00
Barrie Treloar 0dca478eb8 [MNG-5162] Maven stuck on downloading dependencies when using java 7.
A ConnectException references https://cwiki.apache.org/confluence/display/MAVEN/ConnectException

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1401982 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 05:42:39 +00:00
Herve Boutemy 9f28c88bc9 improved message
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1400382 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 07:37:40 +00:00
Herve Boutemy 23097a37a0 [MNG-5350] improved warning message: when in debug mode, list the goals and not only the plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1398044 13f79535-47bb-0310-9956-ffa450edef68
2012-10-14 09:46:54 +00:00
Benjamin Bentmann 42536ce88f Accounted for refactoring of aether-api 2012-09-30 17:37:09 +02:00
Herve Boutemy 12632512dd added a link to Maven component (*THE* core :) )
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1391791 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 12:13:08 +00:00
Herve Boutemy 6215e507a5 added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1391579 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 18:02:20 +00:00
Benjamin Bentmann 2838745156 o Accounted for refactoring of aether-api 2012-09-17 00:05:23 +02:00
Herve Boutemy 3501485ed2 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1382585 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 21:46:28 +00:00
Jason van Zyl 6e901c5797 o Enabled support and discovery of JSR-330 components
o Added Slf4j logger factory to support generic JSR-330 logging

o Exported Guice package for components that access Guice (or better it's injector) directly

Widen export of Guice packages (not ideal, need to look into ways to avoid this)

o use specific exports

o for now we will attempt to hide all of Guice in plugin realms and we'll do a bit of testing

closes #3

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1380105 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 01:07:31 +00:00
Herve Boutemy e82f1ca7b4 added a reference item for artifact handlers
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1380040 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 19:43:23 +00:00
Herve Boutemy 6d48f251e4 added missing license header
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1372515 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 17:07:29 +00:00
Herve Boutemy 19924774d9 added default artifact handlers reference documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1372514 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 17:06:44 +00:00
Olivier Lamy aa7d0a5985 [MNG-5245] default plugin version surefire to 2.12.1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1369644 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 19:15:41 +00:00
Herve Boutemy d3bc3fa684 added @since
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1365267 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 20:03:34 +00:00
Jason van Zyl e778ea6712 MNG-5312: MavenProject.getParent intolerably slow when import scope used heavily
Submitted by: Jesse Glick


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1362736 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 01:16:59 +00:00
Herve Boutemy 6b4a2a602b fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1362617 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 19:31:27 +00:00
Milos Kleint 4fcfcb8f73 MNG-5306 : introduce ModelProblemCollectorRequest and a new ModelProblem property - version which denotes on which validation level the error/warning applies. Additionally move the logic on failing the ModelBuilding from ModelProblemCollector to ModelBuilder's protected method to allow overriding. Default maven behaviour should stay the same.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1357589 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 13:11:15 +00:00
Herve Boutemy 2f6cc7d2d5 improved javadoc: added evaluation result description
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1346694 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 01:14:15 +00:00
Herve Boutemy cd1c96a952 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1344490 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 22:32:42 +00:00
Herve Boutemy 4e28a9e77c added links to MavenPluginManager component
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1342436 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 21:32:04 +00:00
Herve Boutemy 32e3b6c7e6 added link to PluginParameterExpressionEvaluator
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1340560 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 20:36:16 +00:00
Herve Boutemy 2a389c2904 o reworded "bindings" to "plugin bindings"
o added an introduction to lifecycles and plugin bindings to default lifecycle

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1340397 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:01:00 +00:00
Herve Boutemy f8f78eca61 added javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1340266 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 21:34:17 +00:00
Herve Boutemy 53325198e8 generics
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1340254 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 21:16:58 +00:00
Herve Boutemy 691e4af5cf added @since info on methods and classes used by mirror injection
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1335785 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:46:14 +00:00
Herve Boutemy efbbaf668e removed unused import
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1333235 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 22:45:49 +00:00
Olivier Lamy 006075a349 make pluggable PasswordDecryptor working.
Submitted by Jason Dillon
see https://github.com/apache/maven-3/pull/4

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1310560 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 19:28:28 +00:00
Benjamin Bentmann 03b0269579 o Accounted for refactoring of aether-api 2012-03-18 16:52:54 +01:00
Benjamin Bentmann 02927ead50 o Accounted for refactoring of aether-api 2012-03-11 23:18:43 +01:00
Benjamin Bentmann 25a273f744 o Accounted for refactoring of aether-api/-util 2012-03-10 17:41:02 +01:00
Herve Boutemy 2f453c69b9 improved documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1244233 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 22:07:47 +00:00
Herve Boutemy 43518f56f4 generics and Java 5 constructs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1244229 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 21:55:36 +00:00
Olivier Lamy 7bf2294941 [MNG-5245] upgrade default plugins versions surefire version 2.12
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1244153 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 18:36:58 +00:00
Olivier Lamy 4b2c7917e0 [MNG-5233] ArtifactMetadataRetrievalException from org.apache.maven.artifact.metadata is not anymore binary compatible.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1234715 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 09:28:47 +00:00
Benjamin Bentmann 8cf8d36777 o Made Aether session read-only once setup 2012-01-08 20:02:32 +01:00
Benjamin Bentmann e02c8abdd1 Accounted for refactoring of aether-api 2012-01-08 20:01:59 +01:00
Olivier Lamy 76ad2345c1 [MNG-5225] The default version of the maven-site-plugin as defined in the site-lifecycle must be 3.x
merge -r1227324:1227325 https://svn.apache.org/repos/asf/maven/maven-3/branches/maven-3.0.4-RCx


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1227327 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 21:15:03 +00:00
Stephen Connolly ffbdb44299 [MNG-5224] REGRESSION: Injected Settings in a Mojo are missing the profiles from settings.xml
o Some unit tests to cover some of the fix.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1226858 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 16:41:49 +00:00
Stephen Connolly d8000fa861 [MNG-5224] REGRESSION: Injected Settings in a Mojo are missing the profiles from settings.xml
o This is the fix, manually tested. Now I just have to figure out a good way to test the via a unit/integration test

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1226842 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 15:58:55 +00:00
Benjamin Bentmann 2592e158ad o Accounted for API refactoring 2012-01-01 20:05:13 +01:00
Benjamin Bentmann a7613aad86 o Accounted for API refactoring 2011-12-31 21:46:14 +01:00
Benjamin Bentmann 18b81002cd o Accounted for API refactoring 2011-12-30 22:16:02 +01:00
Benjamin Bentmann 82b345e009 o Migrated to Eclipse Aether 2011-12-30 21:43:28 +01:00
Olivier Lamy 879d07b1d7 merge -r1222269:1222270 https://svn.apache.org/repos/asf/maven/maven-3/branches/maven-3.0.4-RCx
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1222272 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 15:13:10 +00:00
Olivier Lamy 71c145a0e6 merge -r1222269:1222270 https://svn.apache.org/repos/asf/maven/maven-3/branches/maven-3.0.4-RCx
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1222272 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 15:13:10 +00:00
Olivier Lamy c07f369278 remove redundant cast
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1212981 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 08:48:07 +00:00
Olivier Lamy 18de090198 remove redundant cast
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1212981 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 08:48:07 +00:00
Olivier Lamy ed651a4d0e [MNG-5209] MavenProject.getTestClasspathElements can return null elements
Submitted by Jesse Glick.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1212980 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 08:47:50 +00:00
Olivier Lamy 87884c7bc1 [MNG-5209] MavenProject.getTestClasspathElements can return null elements
Submitted by Jesse Glick.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1212980 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 08:47:50 +00:00
Benson Margulies a15a2646a3 MNG-5214: Dependency resolution substitutes g🅰️v:jar for j🅰️v:something-else when something-else isn't in the reactor
o allow ejb-client types artifacts to dance with jar artifacts to allow reactor resolution to target/classes, thus
unbreaking some integration tests.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1212793 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 13:54:49 +00:00
Benson Margulies 4b637c5a2f MNG-5214: Dependency resolution substitutes g🅰️v:jar for j🅰️v:something-else when something-else isn't in the reactor
o allow ejb-client types artifacts to dance with jar artifacts to allow reactor resolution to target/classes, thus
unbreaking some integration tests.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1212793 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 13:54:49 +00:00
Benson Margulies acb711f32c MNG-5214: Dependency resolution substitutes g🅰️v:jar for j🅰️v:something-else when something-else isn't in the reactor
o rework to takine MNG-4065 back on board. We need to allow test-jar and jar to dosi-do even if we can't be having with
wsdl and jar changing places.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1212720 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 02:22:55 +00:00
Benson Margulies 04d269f1da MNG-5214: Dependency resolution substitutes g🅰️v:jar for j🅰️v:something-else when something-else isn't in the reactor
o rework to takine MNG-4065 back on board. We need to allow test-jar and jar to dosi-do even if we can't be having with
wsdl and jar changing places.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1212720 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 02:22:55 +00:00
Benson Margulies 52beaf6221 MNG-5214: Dependency resolution substitutes g🅰️v:jar for j🅰️v:something-else when something-else isn't in the reacto
o When Aether asks the ReactorReader for a file for an artifact, remember to match type and classifier. And if all else
  fails, do not return target/classes if the desired artifact is not of type 'jar'. Arguably, if type or classifier
  are non-default, then we should never return those default paths at all.
o Add 'dir' format to make it quicker to run a quick test. If everyone hates this I'll revert it.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1212564 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 18:30:26 +00:00
Benson Margulies 2b4e9a9ef7 MNG-5214: Dependency resolution substitutes g🅰️v:jar for j🅰️v:something-else when something-else isn't in the reacto
o When Aether asks the ReactorReader for a file for an artifact, remember to match type and classifier. And if all else
  fails, do not return target/classes if the desired artifact is not of type 'jar'. Arguably, if type or classifier
  are non-default, then we should never return those default paths at all.
o Add 'dir' format to make it quicker to run a quick test. If everyone hates this I'll revert it.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1212564 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 18:30:26 +00:00
Igor Fedorenko c53d95cee8 MNG-5212 preserve PluginDescriptor dependencies in descriptor cache
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1210924 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 14:13:48 +00:00
Igor Fedorenko 712c4fff72 MNG-5212 preserve PluginDescriptor dependencies in descriptor cache
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1210924 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 14:13:48 +00:00
Benjamin Bentmann ab432a6dc6 o Revised fix from r1151426 which broke the appassembler-maven-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1210240 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 21:52:04 +00:00
Benjamin Bentmann c9d2202549 o Revised fix from r1151426 which broke the appassembler-maven-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1210240 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 21:52:04 +00:00
Olivier Lamy c15263a465 [MNG-5201] upgrade aether to 1.13 and sisu to 2.3.0 .
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1203182 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 13:34:33 +00:00
Olivier Lamy 0cc2c9b227 [MNG-5201] upgrade aether to 1.13 and sisu to 2.3.0 .
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1203182 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 13:34:33 +00:00
Olivier Lamy 57741e53fd [MNG-5200] upgrade plugins version in super pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1202331 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 17:50:50 +00:00
Olivier Lamy f561a2b0e1 [MNG-5200] upgrade plugins version in super pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1202331 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 17:50:50 +00:00
Benjamin Bentmann 86197aa24a [MNG-5073] ProjectBuilder.build(File,ProjectBuildingRequest) returns null project if dependency version info is missing
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1176414 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 14:55:56 +00:00
Benjamin Bentmann c3bf134f57 [MNG-5073] ProjectBuilder.build(File,ProjectBuildingRequest) returns null project if dependency version info is missing
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1176414 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 14:55:56 +00:00
Olivier Lamy af7dffd4b6 [MNG-5175] replace wagon http lightweight with wagon http 2.0 (SNAPSHOT currently)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1172517 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 08:37:25 +00:00
Olivier Lamy 64d86e9f82 [MNG-5175] replace wagon http lightweight with wagon http 2.0 (SNAPSHOT currently)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1172517 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 08:37:25 +00:00
Herve Boutemy c7c79e1f1a [MNG-5151] updated constants to match the modification and added a unit-test
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1172229 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 09:14:58 +00:00
Herve Boutemy a67cc71fbe code formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1172225 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 08:52:12 +00:00
Herve Boutemy 1b66b83732 fixed file snippet configuration to support DOXIA-373
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1171261 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 20:35:41 +00:00
Herve Boutemy 9815001f1f added lifecycles and bindings reference documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1169931 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 21:19:26 +00:00
Herve Boutemy 3f03a3097a added comment on default lifecycles
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1169513 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 19:47:56 +00:00
Herve Boutemy 38dc277f47 code firmatting and simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1169507 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 19:34:37 +00:00
Benjamin Bentmann 8c24208875 [MNG-5163] MavenProject.getPluginRepositories misimplemented
Submitted by: Jesse Glick

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1164993 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 11:17:27 +00:00
Olivier Lamy 87d8d34d4a prevent ConcurrentModificationException
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1162348 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 13:33:19 +00:00
Jason van Zyl ef62188881 o make it possible to change:
- the overarching archive name
 - id of the product
 - long name of the product
 - short name of the product
 - have "mvn -v" output this information so that it's clear it's not Apache Maven

This allows people in the community creating builds of their own builds of Apache Maven to conform to the naming conventions put forth by the Apache Software Foundation.



git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1151924 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 16:46:23 +00:00
Igor Fedorenko 0ffb849a06 MNG-5141 Make MojoExecutor.ensureDependenciesAreResolved public
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1151851 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 13:53:23 +00:00
Benjamin Bentmann 8018e97eb0 o Avoided corruption of local repository when installing a snapshot artifact that was already deployed and as such has a timestamped version, this happens in the wild when using invoker:install during a build that deploys its output
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1151426 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 10:56:26 +00:00
Benjamin Bentmann e877a035d7 [MNG-5135] Regression: in some cases aggregator mojo is unable to resolve dependencies with custom packaging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1151424 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 10:48:35 +00:00
Benjamin Bentmann 4be95217be [MNG-5096] <exclusion> on <dependency> with <type>test-jar</type> doesn't work in maven 3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1151423 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 10:45:43 +00:00
Benjamin Bentmann 5c79de69e7 [MNG-5137] Reactor resolution does not work for forked multi module builds
Submitted by: Stuart McCulloch

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1151421 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 10:39:37 +00:00
Benjamin Bentmann 9ec45b70e4 [MNG-5064] mvn -nsu (--no-snapshot-updates) should not download snapshots (and break local builds)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1151418 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 10:28:41 +00:00
Herve Boutemy 799d63bf87 [MNG-5119] added Javadocs and JXR links in left menu for every module to give easy access to code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1137154 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 10:00:46 +00:00
Benjamin Bentmann e2ad36018b [MNG-5046] Remove $Id$ from sources
Submitted by: Jesse Glick

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1084807 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 23:30:11 +00:00
Benjamin Bentmann 089a9f8d5f o Restored runtime compatibility with plugins that implement custom ArtifactRepositoryLayouts (e.g. appassembler-maven-plugin). The method getId() was added in 3.0 and as such is not implemented by those custom impls. The refactoring done in r1073990 for MNG-4991 eventually made this discrepancy show up during plugin execution.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1075309 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 12:07:53 +00:00
Benjamin Bentmann f9c3d40221 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1074288 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 20:43:52 +00:00
Benjamin Bentmann 06642a9eb7 o Extended debug logging for project dependency graph to include source location of dependency management
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1074222 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 17:22:48 +00:00
Benjamin Bentmann 3c37fb7071 o Enabled request tracing for repository events to provide more context for event spies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1074195 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 16:06:26 +00:00
Benjamin Bentmann b6ee02c3df [MNG-5019] [regression] String-based component lookups performed by report mojos fail with ClassCastException
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1074184 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 15:12:30 +00:00
Benjamin Bentmann c38e3d0c49 o Fixed typos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073948 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 21:07:42 +00:00
Benjamin Bentmann ed12e0a541 [MNG-4990] RepositorySystem#resolve(request) uses two different local repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073928 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 20:25:29 +00:00
Benjamin Bentmann c4f0aa5209 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073926 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 20:22:03 +00:00
Benjamin Bentmann 486563369a [MNG-5024] Update default plugin versions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073753 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 14:23:34 +00:00
Benjamin Bentmann 18e7366753 [MNG-4963] [regression] Parent POM not downloaded when settings define global mirror and one snapshot repo but no other release repository
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073714 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 12:06:20 +00:00
Benjamin Bentmann ad9b6eba2a o Improved robustness against incompatible event spies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1071027 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 19:39:01 +00:00
Benjamin Bentmann a0584affae o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1070588 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 17:34:09 +00:00
Benjamin Bentmann e129567e92 o Revised error handling to properly notify caller of some serious trouble
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1070247 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 15:02:27 +00:00
Benjamin Bentmann 5550ac6663 [MNG-5014] [regression] MavenProject.getParent().isExecutionRoot() not properly set
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1070242 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 14:26:57 +00:00
Benjamin Bentmann 304450abdd [MNG-5009] StackOverflowError in DefaultProjectBuilder.build when <module> points at current aggregator POM
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1070083 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 13:56:52 +00:00
Benjamin Bentmann 3d89ba7509 o Extended API docs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1069983 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 23:31:17 +00:00
Benjamin Bentmann 74840dab1a o Allowed event spy to monitor project dependency graph
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1069935 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 20:04:37 +00:00
Benjamin Bentmann 9b83675025 o Clarified API docs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1069934 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 20:01:55 +00:00
Benjamin Bentmann 5b8042b483 o Consequently enabled location tracking for projects
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1069927 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 19:34:48 +00:00
Igor Fedorenko f5b642cfa7 MNG-5003 unit test project
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1067280 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 20:48:30 +00:00
Igor Fedorenko a7d9b689fa MNG-5003 populate mojo descriptor with cached plugin realm
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1067279 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 20:44:55 +00:00
Igor Fedorenko 1c6745c2a8 lifeCycleExecutionPlanCalculator.setupMojoExecution test
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1066896 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 17:49:06 +00:00
Igor Fedorenko b884655f86 lifeCycleExecutionPlanCalculator.setupMojoExecution test
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1066895 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 17:48:45 +00:00
Igor Fedorenko e8f8fdbadc MNG-4988 API to calculate execution plan without full mojo execution configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1061589 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 00:52:20 +00:00
Benjamin Bentmann 7bc1814003 o Fixed svn props
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1061325 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 14:52:52 +00:00
Brett Porter 347f9243b9 use ArtifactUtils to create IDs to avoid duplicate construction code
Submitted by: Stanislav Ochotnicky


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1060318 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 11:27:22 +00:00
Benjamin Bentmann 586709aadd [MNG-4973] [regression] Build extensions are invisible to plugins in multi module build
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1059266 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 05:25:59 +00:00
Benjamin Bentmann ba01f7b3a3 o Fixed missing package export
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1059233 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 02:38:48 +00:00
Benjamin Bentmann 34146f5e76 o Fixed exception handling for repo metadata to properly report edge cases of inaccessible files
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1057209 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 14:14:28 +00:00
Benjamin Bentmann 7de8eaac48 [MNG-4960] [regression] Make-like reactor mode does not build selected project when resuming from one of its prerequisites
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1056770 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 19:18:43 +00:00
Benjamin Bentmann 46967393a6 [MNG-4959] Update default plugin versions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1055523 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 16:56:56 +00:00
Benjamin Bentmann f288907e33 [MNG-4919] Plugin execution contributed by lifecycle mapping gets lost when same goal is bound multiple times
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1055486 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 15:17:10 +00:00
Benjamin Bentmann 40fb1880ae [MNG-4840] Prerequisites is not working on m3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1055174 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 20:32:41 +00:00
Benjamin Bentmann 8cbfa31252 o Restored API backward compat with 2.x and polished some code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1054693 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 17:51:24 +00:00
Benjamin Bentmann 887c5b82b5 [MNG-4936] Allow to better monitor and adjust a Maven build during CI
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1050096 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 18:58:54 +00:00
Benjamin Bentmann 51a0476667 [MNG-4925] Mismanagement of container lookup realm can cause type incompatibilities for plugins looking up components by string
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1042237 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 20:49:18 +00:00
Benjamin Bentmann 5f05f63b1e o Polished code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1042201 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 15:13:31 +00:00
Benjamin Bentmann 1dd8021f1b [MNG-4926] ExecutionEvent give on the exception encountered (when having projectFailed , forkedProjectFailed)
o Also revised changes for MNG-4922 to follow the same pattern

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1042200 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 15:11:01 +00:00
Olivier Lamy 6f9be24b14 [MNG-4922] ExecutionEvent give on the exception encountered (when having mojoFailed) .
Issue id: MNG-4922


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1042189 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 14:22:06 +00:00
Benjamin Bentmann 990f4519fe o Used generics
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1039329 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 12:24:25 +00:00
Benjamin Bentmann 691a03a7a9 [MNG-4918] MavenProject#clone() doubles active profiles
Submitted by: Sebastian Annies

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1039327 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 12:17:49 +00:00
Igor Fedorenko e260076924 MNG-4916 cache extension plugin resolution errors
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1038917 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 04:30:12 +00:00
Benjamin Bentmann 5e1ef3d327 o Fixed deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1038720 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 17:47:50 +00:00
Igor Fedorenko 38ced22fda MNG-4910 Use BeanConfigurator for configuration sub-elements
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1037741 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 14:48:00 +00:00
Benjamin Bentmann 2aab703767 [MNG-4850] [regression] several elements of server configuration in settings.xml are not honoured
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1036677 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 23:10:41 +00:00
Benjamin Bentmann 6af651b2b4 [MNG-4883] [regression] Dependency resolution does not fail for artifact with over-constrained version ranges
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1036663 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 22:44:23 +00:00
Benjamin Bentmann 0bfec136db [MNG-4904] Make MavenExecutionResult.getTopologicallySortedProjects() return empty list instead of null
Submitted by: Basil James Whitehouse III

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1036585 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 19:28:53 +00:00
Benjamin Bentmann ab0d044566 o Reduced NPE risk
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1036531 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 17:02:51 +00:00
Benjamin Bentmann 3860e6e3ab [MNG-4902] Update default plugin versions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1036506 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 16:03:43 +00:00
Benjamin Bentmann 2945612129 o Fixed svn properties
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1035671 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 16:04:51 +00:00
Benjamin Bentmann 0fb027ea44 [MNG-4895] Plugins depending on 3rd party JARs that contain the Maven API can't be configured/run due to type incompatibilities
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1034880 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 21:09:45 +00:00
Igor Fedorenko 81126757ec cleanup bad language to better comply with Eclipse.org requirements
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1032834 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 03:59:27 +00:00
Benjamin Bentmann 3a53a3caf2 [MNG-4877] Regression: Deploy to SCP with privateKey fails - privateKey and passphrase gets lost
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1029208 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 21:42:14 +00:00
Igor Fedorenko 41fd344011 MNG-4866 use intermediate array to make sure we can purge all inherited MavenSession instances
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1022613 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 16:59:46 +00:00
Benjamin Bentmann d76af58fce o Improved error handling
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1021509 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 21:11:27 +00:00
Benjamin Bentmann f5ad9a458a o Fixed lazy repo creation to cache result repo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1021505 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 21:01:06 +00:00
Benjamin Bentmann 947973e857 [MNG-4860] Allow management of project building request kept inside MavenProject instances
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1021500 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 20:49:53 +00:00
Brett Leslie Porter 1036f38593 [MNG-4858] correct NullPointerException if goal name is malformed
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1005860 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:31:05 +00:00
Benjamin Bentmann 5fee94bc69 o Aligned package of test with package of class under test
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1004653 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 14:16:48 +00:00
Benjamin Bentmann 1fd91671ee o Included project repositories in debug log
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1004481 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 23:33:26 +00:00
Benjamin Bentmann a54c02e3f3 [MNG-4845] [regression] MavenProject.getDependencyArtifact() returns artifacts without version for dependency with version range
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1003537 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 13:43:07 +00:00
Benjamin Bentmann 789ee6703e [MNG-4842] [regression] Repositories discovered in dependency POMs override repositories configured for original resolution request of POM
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1002852 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 21:31:34 +00:00
Benjamin Bentmann 2307863420 o Cleaned up code to slightly better account for lifecycle phases without any mojo executions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1001935 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 22:18:02 +00:00
Benjamin Bentmann 759db789e1 [MNG-4834] [regression] MavenProject.getParent() ignores configured repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1001236 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 15:17:39 +00:00
Benjamin Bentmann 3996f56e85 [MNG-4824] multiple failures need additional whitespace
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@998878 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 10:35:45 +00:00
Benjamin Bentmann 1be90a985a [MNG-4825] Relative path errors could be more explicit
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@998850 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 09:40:51 +00:00
Benjamin Bentmann 11afa6961f o Fixed repo logging to go consistently through listener
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@998715 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 18:54:25 +00:00
Benjamin Bentmann 3bbe5bcd80 [MNG-4805] Update default plugin versions used for built-in lifecycle mappings
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@998642 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 12:24:19 +00:00
Benjamin Bentmann fefa169604 [MNG-4814] Eary dependency resolution attempts for reactor projects prevent their later resolution from the reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@997938 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 22:19:04 +00:00
Benjamin Bentmann 8a3c4a0d77 [MNG-4484] Create a Maven API for component configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@997005 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 17:30:14 +00:00
Benjamin Bentmann b0a5753ad9 o Deprecated class which shouldn't be public
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@996844 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 11:29:40 +00:00
Benjamin Bentmann a85d879df2 [MNG-4807] Extend core artifact filter to exclude relocated Guice-based Plexus shim
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@996480 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 10:10:56 +00:00
Benjamin Bentmann 0ce5541bb5 [MNG-4795] [regression] Dependencies in forked reactor projects are not resolved when aggregator bound to lifecycle forks
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@996206 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 20:19:40 +00:00
Benjamin Bentmann e2378b2b47 [MNG-4805] Update default plugin versions used for built-in lifecycle mappings
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995733 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 10:12:40 +00:00
Benjamin Bentmann 9e678193cf [MNG-4592] Snapshot artifacts that could not be downloaded due to communication problems are "blacklisted" for a day by default.
o Disabled error cache but kept not-found caching for MNG-4343

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995606 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 23:09:58 +00:00
Benjamin Bentmann 68ebd39bd8 [MNG-4343] maven always checks missing release artifacts
[MNG-4592] Snapshot artifacts that could not be downloaded due to communication problems are "blacklisted" for a day by default.

o Allowed to configure caching of resolution errors in the execution request, thereby providing better control for CLI and IDE to select the desired behavior

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995600 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 22:52:57 +00:00
Benjamin Bentmann b4916c20e9 o Cleaned up code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995585 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 21:52:50 +00:00
Benjamin Bentmann 8e5e2912ba o Fixed missing delegation to new repo system
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995578 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 21:17:09 +00:00
Benjamin Bentmann 90ac0847b6 [MNG-4785] NPE in dependency resolution code for TC plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995457 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 15:21:11 +00:00
Benjamin Bentmann ee07bb36d5 [MNG-4788] [regression] Appassembler Maven Plugin doesn't work like as it should
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995272 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 22:40:23 +00:00
Benjamin Bentmann 1abc9c1e9a [MNG-4796] add a warning when profiles.xml is used (Maven 2) or detected (Maven 3)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@992683 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 21:28:53 +00:00
Herve Boutemy 69bbe9a862 changed @since 3.0-alpha/beta to @since 3.0
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@992638 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 16:37:54 +00:00
Benjamin Bentmann 091cfb1596 o Improved compat with legacy artifact system
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@992243 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 09:41:27 +00:00
Benjamin Bentmann 385619acb8 o Made project dependency graph reflect partial resolution properly
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@992092 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 19:59:15 +00:00
Benjamin Bentmann e3796f6619 o Allow caller to specify per-request workspace reader for Maven execution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@992089 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 19:55:29 +00:00
Benjamin Bentmann da8d45d550 [MNG-4791] [regression] POM artifacts passed into MavenProjectBuilder.buildFromRepository() are no longer resolved
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@992083 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 19:50:53 +00:00
Benjamin Bentmann fc2a9f9a26 [MNG-4787] Allow class realm manager delegates to alter public part of Maven core realm
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@991347 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 21:49:55 +00:00
Benjamin Bentmann 98ba2c1f3d o Removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@991141 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 10:22:24 +00:00
Benjamin Bentmann 1cbef71e7b [MNG-4779] NullPointerException thrown during dependency resolution when dependency with range occurs more than once in the dirty tree
[MNG-4781] Can't deploy to Nexus staging repository


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@990771 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 11:17:36 +00:00
Benjamin Bentmann 7b9b88effc o Prevented crappy plugins from messing with container-managed artifact handlers
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@990345 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 11:29:44 +00:00
Benjamin Bentmann 53cd87f2d9 o Propagated interactive mode to repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@989972 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 23:17:52 +00:00
Benjamin Bentmann 15f0acf6b6 [MNG-4756] Aether integration
o Completed core artifact filter

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@989966 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 22:53:46 +00:00
Benjamin Bentmann 66b0cd1d44 o Tidied up dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@989911 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 20:09:34 +00:00
Benjamin Bentmann f52c2d2dd6 o Configured proper user agent
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@989902 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 19:39:41 +00:00
Benjamin Bentmann 6b82e83024 [MNG-4776] NPE during build from parent but not from child
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@989222 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 17:00:20 +00:00
Benjamin Bentmann 6c37a89744 [MNG-4756] Aether integration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@988749 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 22:46:07 +00:00
Benjamin Bentmann 4b04709828 [MNG-4773] Stack trace printed from MavenProject.getParent
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@987610 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 19:28:22 +00:00
Benjamin Bentmann f022e66b2a [MNG-4772] [regression] Plugin version resolution ignores enabled flags on repository
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@987572 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 16:55:04 +00:00
Benjamin Bentmann 54be625048 [MNG-4771] [regression] Plugin prefix resolution ignores enabled flags on repository
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@987570 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 16:53:39 +00:00
Benjamin Bentmann 2225bc7bbe [MNG-4765] Failing to determine java version for profile....
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@987335 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 22:26:55 +00:00
Herve Boutemy 62a4bb86ce renamed *Impl classes to Default* to match usual convention
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@986913 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 20:23:21 +00:00
Herve Boutemy 618bbf4f0e added @since information
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@986532 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 00:20:20 +00:00
John Dennis Casey 8cdb461fdf [MNG-4761] Fixing unit tests. system scope has to be preserved in plugin-level deps.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@984543 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 19:22:46 +00:00
John Dennis Casey b2fd85fa8a [MNG-4761] Force plugin-level dependencies to use runtime scope, so conflict resolution doesn't make a determination based on dependency scoping.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@984534 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 18:55:44 +00:00
Benjamin Bentmann a9a19a7a62 [MNG-4615] [regression] @required plugin parameters are not validated
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@983050 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:47:58 +00:00
Benjamin Bentmann e96c8dab7e [MNG-4750] [regression] MavenProject.getDependencyArtifacts() aren't resolved
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@982696 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 17:02:24 +00:00
Benjamin Bentmann 46de558b61 [MNG-4747] Javaagent not usable since 3.0-alpha
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@982405 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 21:11:43 +00:00
Benjamin Bentmann 09117ae465 o Improved backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@980888 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 16:55:57 +00:00
Benjamin Bentmann f179e38933 o Avoided creation of broken ThreadLockedArtifact (i.e. don't wrap null artifacts)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@980522 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 17:49:54 +00:00
Benjamin Bentmann 7c5b95fa26 o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@980426 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 12:37:41 +00:00
Benjamin Bentmann 2e71421fe7 [MNG-4740] Maven hangs with big aggregators with lots of inter-modules dependencies
Submitted by: Vincent Latombe

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@979808 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 19:08:20 +00:00
Kristian Rosenvold f19befcf70 o Reduced access level of class, updated some docs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@978818 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 07:29:15 +00:00
Kristian Rosenvold a49f986e86 [MNG-4633] Added ThreadLockedArtifact, Implemented locking algorithm
Fix affects weave mode only.
    
    Solves 3 different known problematic cases where downstream reactor
    modules access the file of the upstream module's artifact before it
    is ready (seem in ant-plugin, ear plugin and reported on issue).
    
    The basic premise of this fix is that only a few selected phases
    actually need access to the classes variant of artifact.getFile()
    which is set by the compiler plugin.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@967190 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 18:25:04 +00:00
Benjamin Bentmann c6aab7be9f o Moved settings building into separate module
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@964730 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 09:59:13 +00:00
Benjamin Bentmann b66e581ef1 [MNG-4725] Extend core artifact filter to exclude Guice-based Plexus shim
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@963313 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 15:11:46 +00:00
Benjamin Bentmann d3965e9cbf [MNG-4718] [regression] Missing Class in 3.0-beta-1: org.apache.maven.project.artifact.AttachedArtifact
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@960855 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 09:34:43 +00:00
Herve Boutemy 23f2095652 fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@958295 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 23:16:18 +00:00
Kristian Rosenvold a9fcd5d108 [MNG-4682] Exception upon build failure in parallel builds
Also removed duplicated code line

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@956100 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 19:09:42 +00:00
Benjamin Bentmann e733004eb1 o Restored backward-compat with Maven 2.x
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@955820 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 02:48:46 +00:00
Olivier Lamy d6e04a3d49 add comment to prevent accidental delete of those methods :-)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@951862 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 13:55:06 +00:00
Benjamin Bentmann 93536dd82c o Fixed version resolution from reactor to match resolvable artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@951547 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 20:05:18 +00:00
Benjamin Bentmann c94f27a8b4 [MNG-4697] Deprecate ununsed CLI options for plugin registry
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@951135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 19:53:09 +00:00
Benjamin Bentmann 313e5b7761 o Set svn:eol-style=native
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@950626 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:35:38 +00:00
Benjamin Bentmann c389e65f2b o Separated maven-metadata.xml model into separate module for easy reuse in standalone repository library
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@950566 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 13:56:15 +00:00
Herve Boutemy cf68e8e091 o removed unused import
o fixed typos
o code simplification
(no code change)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@950240 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 20:39:34 +00:00
Benjamin Bentmann 1a59d57746 o Removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@949832 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 18:48:45 +00:00
Benjamin Bentmann 9be1144e4e [MNG-4696] [regression] MavenProject.getDependencyArtifacts() misses elements
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@949801 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 16:34:51 +00:00
Benjamin Bentmann 6e7b4226e7 [MNG-1803] Provide line number information when there are errors processing a pom.xml
o Merged feature branch

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@949708 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 10:24:20 +00:00
Benjamin Bentmann c031581c62 o Formatted code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@944868 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 15:47:09 +00:00
Benjamin Bentmann 1cadde7468 o Used component annotations where possible
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@944865 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 15:43:21 +00:00
Benjamin Bentmann dca7e1fffe o Updated default version of maven-clean-plugin to 2.4.1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@944796 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 11:12:11 +00:00
Benjamin Bentmann 0a6b3d8510 [MNG-4666] [regression] Plugins depending on plexus:plexus-container-default get broken runtime classpath
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@944710 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 20:14:00 +00:00
Benjamin Bentmann 58b0987b90 o Cleaned up core artifact filter and removed exclusions pf non-existing artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@944685 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 17:26:43 +00:00
Olivier Lamy 2e4a9ecf26 restore more backward comp.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@944477 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 21:17:31 +00:00
Kristian Rosenvold acd6b3c1c0 [MNG-4633] Re-added configurable phase synchronization wrt upstream phase
Made execution plan calculation parallel in weave mode

Existing weave mode would only phase-lock to the same phase upstream.
Execution plan calculation made parallel at high-level, still looking
into reducing blocking in DefaultMavenPluginManager to cash in on this.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@941474 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 20:38:28 +00:00
Benjamin Bentmann d126a29bc7 [MNG-4664] Minor patches needed to run Maven3 with the replacement Guice-Plexus container
Submitted by: Stuart McCulloch

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@941224 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 09:49:08 +00:00
Benjamin Bentmann f9002b1821 o Fixed error message
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@940810 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 11:41:32 +00:00
Benjamin Bentmann 90027ef75a [MNG-4658] Relax validation of repository ids and only warn upon conflict with "local"
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@940790 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 09:57:46 +00:00
Kristian Rosenvold ab495d4a39 [MNG-4633] Changed to use nice clean countdownlatch instead of synchronized booleans
Also updated phase locking to only lock when project being built changes phase

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@939220 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 07:22:39 +00:00
Benjamin Bentmann 0d7a05f8b2 o Formatted code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@939034 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 18:04:12 +00:00
Kristian Rosenvold 1248bd1c1f [MNG-4651] Re-added missing methods for 3.x site plugin
Also clarified role of LifecylceExecutor as a 'facade providing lifecycle services'

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@939028 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 17:51:31 +00:00
Kristian Rosenvold 1a7361596b [MNG-4642] Extended MojoDescriptor with threadSafe attribute
Added support for detecting @threadSafe annotation and a nice noisy, warning message.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938443 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 13:07:17 +00:00
Benjamin Bentmann 1da75bb7ef o Polished log output
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938411 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 11:11:49 +00:00
Benjamin Bentmann 809969a06b o Made programming errors show up as internal errors to the user
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938393 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 10:15:27 +00:00
Kristian Rosenvold ef776a9a17 [MNG-4633] Adjusted upstream reactor artifact resolution to resolve on every phase change
Changed build summary time to show effective mojo time in weave mode, it's the only thing that made sense.
Removed uneccessary synchronized block in DefaultMavenPluginManager because now everything JustWorks(TM)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@938149 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 17:43:51 +00:00
Benjamin Bentmann 5881bc7474 o Cleaned up license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935748 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 21:14:33 +00:00
Kristian Rosenvold 2339e16750 o Refactoring: Moved one incorrectly placed method from BuildListCalculator to TaskSegmentCalculator
This method was creating a lot of strange internal dependencies since it was mis-placed

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935741 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 20:57:44 +00:00
Kristian Rosenvold 954acd1a12 o Refactoring: Extracted schedules out of DefaultLifecycles
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935341 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 13:52:20 +00:00
Kristian Rosenvold 69c68d06c5 [MNG-4633] Reactor artifact resolution in weave mode
Resolves artifacts from within reactor build.
No longer requires artifacts to be present in local repository before building weave mode ;)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@935334 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 11:36:37 +00:00
Benjamin Bentmann e3c7c2633d o Fixed format of project id
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934867 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 13:37:25 +00:00
Benjamin Bentmann 419a1d4627 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934861 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 13:18:48 +00:00
Benjamin Bentmann 41eb59fdd1 o Fixed handling of missing project artifact id
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934440 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 15:09:40 +00:00
Kristian Rosenvold 7e5e5eb1da [MNG-4633] Weave mode operational.
Replaced approximation-based algorithm for detecting upstream-mojo dependencies with
a proper phase based solution. Revised re-resolution strategy of reactor artifacts

There are a few minor performance inefficiencies (only in weave mode), that will be
sorted for beta-2.

Improved logging, and also added initial graphviz-format log output support

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934425 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 14:34:42 +00:00
Benjamin Bentmann 9fa047dc30 o Removed unused import
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934206 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 21:39:45 +00:00
Kristian Rosenvold 95330133d9 [MNG-4633] Fixed weave mode bug when building m3 itself in weave mode.
Updated testcase for MEP.

Also removed all unused/unecessar code from weave mode.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934201 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 21:23:26 +00:00
Benjamin Bentmann ac455ccc60 o Polished logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933910 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 11:02:23 +00:00
Igor Fedorenko 2115920094 MNG-4634 Allow custom lifecycles
Build extensions plugins can now define new lifecycles. Implementation guarantees 
that standard lifecycles, i.e. default, clean and site, are considered before custom
lifecycles. It assumes that phase names are globally unique and ignores any
duplicate phase names (with a warning).

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933848 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 03:09:21 +00:00
Kristian Rosenvold 87ff4bf414 [MNG-4633] Changes from review on #maven-dev
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933799 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 22:00:53 +00:00
Kristian Rosenvold 12b34781ec [MNG-4633] Removed isWeaveMode from ReactorArtifactRepository
This feature was incorrect, and weave mode requires no special handling here.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933771 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 20:09:15 +00:00
Benjamin Bentmann 6917060e56 o Eased migration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933174 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 10:19:24 +00:00
Benjamin Bentmann 3d2bebeb19 o Formatted code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933172 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 10:18:26 +00:00
Benjamin Bentmann e171aa5e0d o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933001 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 22:15:17 +00:00
Benjamin Bentmann 91e83d2424 o Refactored execution event firing
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@933000 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 21:41:33 +00:00
Benjamin Bentmann 21997b5c6b o Improved logging for forked executions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932966 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 18:10:07 +00:00
Jason van Zyl 6ab4736f12 Change the default maven-compiler-plugin version to 2.3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932701 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 11:48:33 +00:00
Benjamin Bentmann 0c20759680 [MNG-4453] [regression] Plugin versions defined in a lifecycle mapping are not respected
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932609 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 20:59:09 +00:00
Benjamin Bentmann 238f8c02fb [MNG-2994] Snapshot repositories are not checked when using ranges
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932128 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:29:56 +00:00
Benjamin Bentmann 51b1094d1e o Used generated clone() methods
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932100 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:47:10 +00:00
Benjamin Bentmann 5f7181d9b8 o Added missing method signature
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931928 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 13:25:09 +00:00
Kristian Rosenvold 643337864b [MNG-3004] Re-added calculateExecutionPlan to DLE, fixed ASF code standard
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931921 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 13:06:58 +00:00
Kristian Rosenvold 83237e46af [MNG-3004] Concurrent building of multimodule projects
This commit consists of a modularization of the DefaultLifecycleExecutor into smaller
components. This is primarily done with the intention of extracting execution strategy 
somewhat from the rest of the logic.

It also contains three differenent execution strategies:
A) Linear ("Classic")
B) Parallel (Based on Dan's original implemementation)
C) Weave (Still experimental) 

 
The command line -T option activates parallel running, and the argument
is in the form -T <[nThreads, a float][C][W]|auto>

Notes:
* The output demultiplexer is disabled in this commit, and output will appear intermingled.
* The modello plugin has known problems
* Surefire must be run in forkmode at least once.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931884 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 11:29:13 +00:00
Igor Fedorenko fba6edc9ae MNG-4628 ReactorArtifactRepository is not setup soon enough for AbstractMavenLifecycleParticipant#afterProjectsRead
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931641 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 18:58:53 +00:00
Benjamin Bentmann 1f9e91da55 [MNG-4625] Interpolation of settings.xml fails if an expression's value contains XML markup
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931545 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 13:44:18 +00:00
Benjamin Bentmann 37a0e64aa0 [MNG-4618] maven-javadoc-plugin aggregate-jar fails with maven3 and multiple modules
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931086 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 11:00:19 +00:00
Benjamin Bentmann aa0b4f4618 [MNG-3133] DefaultModelInheritence::appendPath assumes it is operating on interpolated/literal paths
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@930411 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 22:07:04 +00:00
Benjamin Bentmann d425e273a1 [MNG-3470] Build does not fail on corrupted POM even with checksumPolicy=fail
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929985 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 14:16:03 +00:00
Benjamin Bentmann e45fa790c7 [MNG-4418] Dependency resolution appears to misbehave if a remote repository uses the id "local"
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929329 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 22:53:01 +00:00
Benjamin Bentmann 1b157097df o Fixed potential NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929317 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 22:03:01 +00:00
Benjamin Bentmann aa68fb033b [MNG-2741] [regression] Meaningless error message: "Error transferring file"
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929217 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 18:39:31 +00:00
Benjamin Bentmann 912a565ffc [MNG-3616] Null Pointer Exception when mirrorOf missing from mirror in settings.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929083 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 11:20:29 +00:00
Benjamin Bentmann 2e814346e6 o Refactored settings validation to support more extensive problem descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928934 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 22:58:14 +00:00
Benjamin Bentmann 57fd3fb279 [MNG-3779] Improve error message when trying to execute moojo with no pom.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928903 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 21:16:26 +00:00
Benjamin Bentmann b16a005106 [MNG-4005] Throw Validation Error if pom contains a dependency with two different versions
o Relaxed to warning for now to ease migration

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928485 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 19:47:30 +00:00
Benjamin Bentmann bd1f3b58e5 [MNG-2222] dependency to dependency without source code fails
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928058 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 21:03:19 +00:00
Benjamin Bentmann edd0eb016b o Fixed classifier
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@927830 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 13:00:00 +00:00
Benjamin Bentmann 5507063fc2 o Aligned version resolver with prefix resolver and made it support a model as additional input
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@927604 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 21:55:08 +00:00
Benjamin Bentmann dfd067b3ed o Refactored code to be more general/clear
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@927050 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 13:26:24 +00:00
Benjamin Bentmann c180c2137c o Restored backward-compat with maven-help-plugin:2.1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@926030 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 11:08:38 +00:00
Benjamin Bentmann a1f22c3da7 o Restored backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@925254 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 15:02:22 +00:00
Benjamin Bentmann 1e91b227f9 o Polished error message
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921933 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 16:50:25 +00:00
Benjamin Bentmann d946c8cbe9 [MNG-4586] Plugin prefix can't be resolved from plugin management if management entry is missing plugin version
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921932 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 16:49:08 +00:00
Benjamin Bentmann c5e7758e3e [MNG-4580] Plugin dependencies for module ignored when building from aggregator project using direct plugin invocation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921579 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 21:30:47 +00:00
Benjamin Bentmann 22585104f6 o Extended debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921484 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 17:55:47 +00:00
Benjamin Bentmann 767cc74a6b [MNG-1144] List 2 or more maven goals in the <defaultGoal> of the POM
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@920469 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 19:24:24 +00:00
Benjamin Bentmann ea8742b7bf o Fixed typos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@917251 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 19:00:46 +00:00
Benjamin Bentmann 57ff75ee45 [MNG-4553] Plugins artifact filtering should use full Artifact identification instead only ArtifactId
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@917014 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 18:55:06 +00:00
Benjamin Bentmann 8a87da6a98 o Made default project name more concise
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@916984 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 16:34:58 +00:00
Benjamin Bentmann bc314e68aa o Concentrated all plugin artifact resolution in one component
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@911645 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 23:19:48 +00:00
Benjamin Bentmann 862e8875d1 [MNG-4561] [regression] network settings are not applied to repositories from plugin dependencies
[MNG-4528] [regression] mvn deploy ignores proxy settings

o Revised original solution to generally exclude wagons pulled in transitively via Maven core artifacts

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@909934 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 23:52:37 +00:00
Benjamin Bentmann fd5683b936 [MNG-4561] [regression] network settings are not applied to repositories from plugin dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@909830 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 14:27:02 +00:00
Kristian Rosenvold a1438752da Fixed safe publication issue in DefaultArtifact, re-changed CopyOnWriteArraySet to unmodifiableSet
Verified the existence of unsafe publication regarding file and resolved attributes in DefaultArtifact.


Revised earlier change to strengthen intended focus on immutability of HashSet 

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@908650 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 19:52:07 +00:00
Benjamin Bentmann 92a7283378 o Stabilized ordering
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@908459 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 11:58:11 +00:00
Kristian Rosenvold 6c59fced77 Changed to threadsafe Map/Set structures
The changed classes have confirmed unsafe concurrent access using failfast-collections

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@906463 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 12:12:14 +00:00
Benjamin Bentmann 7d8835762c o Extended debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@905425 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 21:58:22 +00:00
Benjamin Bentmann 1df9413fd4 [MNG-4554] [regression] plugin updates are requested on every build regardless of policies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@905424 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 21:57:40 +00:00
Benjamin Bentmann 8b6616cf3b [MNG-4464] Improve handling of relative paths with backslashes
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@904931 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 00:27:21 +00:00
Benjamin Bentmann d0d3f58fff [MNG-4526] [regression] Shade plugin includes too much (relative to 2.2.1)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@904309 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 23:48:31 +00:00
Benjamin Bentmann c18b8872de [MNG-4536] Long build time - enforcer running too many times
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@904188 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 17:57:08 +00:00
Benjamin Bentmann 811c97ec30 o Extended debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@903425 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 21:27:22 +00:00
Benjamin Bentmann 459c2e4e03 o Strengthened cache key
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@903183 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 11:40:44 +00:00
Benjamin Bentmann 046666a715 [MNG-3168] Correct error message when project descriptor not found
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@902614 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 17:52:36 +00:00
Benjamin Bentmann a7cf185920 o Tweaked error reporting to exclude well-known exceptions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@902613 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 17:51:37 +00:00
Benjamin Bentmann 3b35b6222a [MNG-4522] Maven3 doesn't fail build when a pom from transitive dependency can't be found
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@902573 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 14:24:34 +00:00
Benjamin Bentmann 664537e3f8 o Eased debugging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@901925 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 23:37:42 +00:00
Benjamin Bentmann b6c016a84e [MNG-4541] Extend class realm manager delegate to allow conditional behavior
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@901852 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 21:01:19 +00:00