Commit Graph

8811 Commits

Author SHA1 Message Date
Herve Boutemy 70b0756d31 little code improvements
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@932035 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 18:01:20 +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
Benjamin Bentmann 5ffd89030c [MNG-3092] Version ranges with non-snapshot bounds can contain snapshot versions
Submitted by: Mark Hobson

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931890 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 11:37:42 +00:00
Benjamin Bentmann ed256dc2e8 o Added generics
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931889 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 11:35:42 +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
Benjamin Bentmann a3bcfe7d11 [MNG-4629] [regression] POM validation fails upon non-existing system-scope dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931860 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 10:41:38 +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 fc7636db41 [MNG-4623] model parsing errors can be less helpful in Maven 3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931492 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 10:21:05 +00:00
Benjamin Bentmann 95022ebf36 [MNG-4022] Incorrect merge behavior using profile driven plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931329 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 21:09:45 +00:00
Benjamin Bentmann 997c3110c6 [MNG-2103] Inheritance of <plugin> overrides that of <execution>
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931125 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 12:44:16 +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 bf506287ed o Fixed mailing list links
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@930752 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 21:23:44 +00:00
Benjamin Bentmann 5aa2078ab1 o Improved model validation to ignore super POM for plugin version check
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@930720 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 17:25:00 +00:00
Benjamin Bentmann a123fce495 o Refactored code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@930708 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 16:18:47 +00:00
Benjamin Bentmann df8e313981 o Cleaned up code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@930689 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 13:41:38 +00:00
Benjamin Bentmann 8286769834 [MNG-4619] Issue warning in case parent.relativePath points at POM with different groupId/artifactId
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@930665 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 11:44:43 +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 3568227eef o Extended debug logging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@930204 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:26:57 +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 ceef52904f [MNG-4555] mvn archetype:generate -o (offline) still results in a "checking updates from central"
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929691 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 19:50:06 +00:00
Benjamin Bentmann 8daea5f1a7 [MNG-2276] profile activation by property doesn't work with properties defined in settings
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929483 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 11:38:44 +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 14094c260b [MNG-3477] Authentication failures on dependency download aren't reported
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929299 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 21:26:59 +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 9020e459a1 [MNG-2187] Improve error message when the pom is encoded in the wrong charset
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@929140 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 13:48:08 +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 8aba4e9b9b [MNG-4326] Maven should not check snapshot repositories for dependencies in the reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928842 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 17:29:24 +00:00
Benjamin Bentmann bbcd44e011 [MNG-3529] mvn -Da=" " throws an exception
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928714 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 11:02:03 +00:00
Benjamin Bentmann 953b339e1c o Removed broken scripts
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928698 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 10:40:13 +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 fbaa48e658 [MNG-1701] Validate that a plugin is not configured twice in the pom
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928426 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 15:05:40 +00:00
Benjamin Bentmann e472d8f539 o Enabled stack traces until we know otherwise to make errors during CLI parsing show up in detail
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928210 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 14:51:31 +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 10f90c7b3d [MNG-4610] Bump maven-release-plugin to v2.0 in super POM
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@927965 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 16:52:54 +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 51d640d13b [MNG-4162] Removal of all reporting logic from the core of Maven
o Finished converter for reporting section

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@927602 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 21:54:04 +00:00
Benjamin Bentmann 38b4606a18 o Cleaned up validation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@927436 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 15:03:50 +00:00
Benjamin Bentmann 8fe6c6d551 o Restored warning for empty <module>
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@927364 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 12:17:53 +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 4b084a7e3f o Excluded unwanted test files as pointed out by Brett
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@926045 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 12:00:03 +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 699fc5b81d [MNG-4600] [regression] Optional flag from dependency management applied to dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@925481 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:20:31 +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 0bbebeae70 o Updated default plugin versions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@923724 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 13:14:35 +00:00