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
bfaab01874
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921170 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:24:47 +00:00
Benjamin Bentmann
0c78c31304
[maven-release-plugin] prepare release maven-3.0-alpha-7
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921168 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:24:22 +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