Jason van Zyl
b05dd063f9
Slight addition to MNG-5389 so that the afterSessionEnd method throws a MavenExecutionException like the other methods in the participant
2014-01-24 11:36:50 -05:00
Igor Fedorenko
8f3eca3d0f
MNG-5389 introduced MavenLifecycleParticipant#afterSessionEnd callback
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2014-01-19 18:48:43 -05:00
Robert Scholte
91499839cf
[MNG-5230] Command line option to exclude modules from reactor
...
Contributed by Luuk van den Broek, slightly changed by Robert Scholte
Exclude/include marker char now match profiles, i.e +, ! and -
2014-01-09 00:06:19 +01:00
Jason van Zyl
6e3f24babc
Updated the notes about the order of processing and a small problem with the conflation of duplicate checkingin getProjectMap
2014-01-06 12:16:06 -05:00
Jason van Zyl
7c3052ddeb
MNG-5557: Constrain the set of projects that are passed into the ReactorReader as specified by --projects
...
- Add some documentation about the lifecycle within DefaultMaven
- Remove the use of DelegatingLocalArtifactRepository in DefaultMaven as it has been replaced with the use of the
ReactorReader which is an implementation of Aether's WorkspaceReader
- Localize the manipulation of the ProjectBuildingRequest to getProjectsFromReactor()
- Deprecated getLogger()
2014-01-06 10:55:01 -05:00
Stephen Connolly
3929f55c31
Remove redundant casts
2014-01-06 11:23:19 +00:00
Stephen Connolly
5f29be799f
Remove dead code (initializers)
2014-01-06 11:21:26 +00:00
Stephen Connolly
9a9cf059fd
Just in case of file lock extra try and delete
2014-01-06 11:08:14 +00:00
Stephen Connolly
e2b7ea2a96
Compare Xpp3Dom instances not objects that are different types and are being compared by Object.equals i.e. instance identity
2014-01-06 11:00:47 +00:00
Stephen Connolly
4b6eaadd28
Remove redundant Null check
2014-01-06 10:54:26 +00:00
Stephen Connolly
7ec819a2ce
Remove redundant Null check
2014-01-06 10:53:51 +00:00
Stephen Connolly
9bec8d7386
Use chained .append calls rather than concatenate strings in arguments to .append
2014-01-06 10:42:20 +00:00
Stephen Connolly
c156b1512f
duplicate ;
2014-01-06 10:35:53 +00:00
Stephen Connolly
f92c5bf5fd
Flag that we are ignoring this
2014-01-06 10:34:45 +00:00
Stephen Connolly
9a55914061
Remove unnecessary unboxing
2014-01-06 10:32:16 +00:00
Stephen Connolly
c30c76e423
Use StringBuilder
2014-01-06 10:31:04 +00:00
Stephen Connolly
77aeb15556
targetting 3.2.0 release
2014-01-06 09:49:00 +00:00
Jesse Glick
2eb419ed95
[MNG-5075] MavenProject.getParent throws undocumented ISE
...
Submitted by Jesse Glick
2014-01-05 19:17:03 +00:00
Igor Fedorenko
e698ce6e67
MNG-5549 introduced MojoExecutionEvent and ProjectExecutionEvent
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2013-12-20 10:06:04 -05:00
Igor Fedorenko
f35698c790
MNG-5552 made classifier part of MavenProject.artifactMap key
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2013-12-17 12:56:36 -05:00
Igor Fedorenko
b99658c943
MNG-5550 default MojoExecution source to Source.LIFECYCLE
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2013-12-14 19:44:25 -05:00
Igor Fedorenko
bc84e6c7d3
MNG-5549 introduced MojoExecutionListener and ProjectExecutionListener
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2013-12-14 19:43:42 -05:00
Igor Fedorenko
2ef658430f
MNG-5530 simplified MojoExecutionScope binding
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2013-11-18 09:41:15 -05:00
Igor Fedorenko
8700b05857
MNG-5530 Introduced mojo execution guice component scope
...
Mojo execution scoped components are annotated with @MojoExecutionScoped
They are created just before configured mojo instance is created
and disposed immediately after mojo execution finishes.
Execution scoped components can request @Inject MavenSession,
MavenProject and MojoExecution instances in addition to any
standard Maven core components and components defined in
maven plugin contributing execution scoped components.
Execution scoped components can be injected into Mojos using
standard /* @component */ javadoc (and likely new mojo
annotations).
If execution scoped component implements MojoExecutionListener
callback interface, its #afterMojoExecutionSuccess method will be
invoked after successful mojo execution and #afterMojoExecutionAlways
method will be executed after both successful and failed mojo
executions.
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-10-31 07:49:54 -04:00
Jason van Zyl
b0acd5e73a
The version:set plugin works to roll/unroll changes (where the release plugin is not very good) so we can use more standard versions which will help withe ITs.
2013-10-04 15:05:56 -04:00
Jason van Zyl
72326aef76
[maven-release-plugin] prepare for next development iteration
2013-09-17 11:17:49 -04:00
Jason van Zyl
0728685237
[maven-release-plugin] prepare release maven-3.1.1
2013-09-17 11:17:43 -04:00
Jason van Zyl
b7e3ce220c
I'm reverting this as per Benjamin: the change to the artifact filter is an optimization to avoid downloading needless artifacts, but for cases of uber JARs or other stuff pulling in those packages, the class realm manager's imports are crucial
2013-09-17 10:22:35 -04:00
Jason van Zyl
c61c387cf6
MNG-5513: Artifact filtering not updated for Eclipse Aether filtering
...
Also, please note that org.eclipse.aether.internal.impl should be imported into plugin realms, thereby restoring Maven 3.0.x style behavior which imports org.sonatype.aether.impl and sub packages (especially o.s.a.impl.internal which after the move to Eclipse is no longer a sub package of o.e.a.impl) according to Benjamin (thanks!)
2013-09-17 00:09:54 -04:00
Jason van Zyl
0194cd61c8
We must also filter out the old Aether as well to prevent NoClassDefFoundErrors
2013-09-14 21:02:05 -04:00
Jason van Zyl
6125acf1c4
Merge branch 'mng-5513'
2013-09-14 20:22:18 -04:00
Jason van Zyl
340dd3fc6e
Change poms over to major.minor-SNAPSHOT
2013-09-14 17:05:06 -04:00
Hervé Boutemy
65e219f621
fix scm connection and developerConnection values in modules, waiting
...
for maven-scm support of default inherited values, which appends
/${artifactId}
2013-09-14 16:15:38 +02:00
Tamas Cservenak
97732f7ee7
[MNG-5513] Restoring Maven 3.0.x style behavior
...
As it was importing org.sonatype.aether.impl and
sub packages, but since Aether move to Eclipse
the org.eclipse.aether.internal.impl is no longer
sub package of org.eclipse.aether.impl (but it
was in Sonatype Aether)
2013-09-11 14:01:15 +02:00
Tamas Cservenak
4a7b25c3dd
[MNG-5513] Artifact filtering for Eclipse Aether fixed
...
The filtering was left unchanged, while Aether
GroupID changed from org.sonatype.aether to
org.eclipse.aether, basically letting
Plugins to reference Eclipse Aether that
would produce runtime Linkage errors.
2013-09-11 13:59:40 +02:00
Jason van Zyl
07f0fce320
[maven-release-plugin] prepare for next development iteration
2013-09-05 12:59:21 -04:00
Jason van Zyl
892b464683
[maven-release-plugin] prepare release maven-3.1.1
2013-09-05 12:59:15 -04:00
Hervé Boutemy
6b2db085c0
code formatting
2013-08-21 21:38:01 +02:00
Jason van Zyl
11f46bd4c4
MNG-5503: Fix for the issue where Maven 3.1.0 fails to resolve artifacts produced by reactor build
...
The general strategy is to fall back to Aether artifact type and use its notion of identity as much as possible. I have
a simple IT taken from the sample project that I will also push.
2013-08-20 05:54:28 -07:00
Hervé Boutemy
2d33fad18c
give coordinates of plexus configuration files used to define content
2013-08-02 15:24:11 +02:00
Hervé Boutemy
82eba2a03f
improved javadoc
2013-07-28 14:08:13 +02:00
Hervé Boutemy
2351cc1bb9
added a link to ExceptionHandler in the "useful entry points" section
2013-07-28 13:46:14 +02:00
Hervé Boutemy
7ffd13af5f
added links to toolchains descriptor reference
2013-07-27 23:10:34 +02:00
Hervé Boutemy
8009c099a0
prefer DuplicatProjectException in same package and explicit package for
...
org.apache.maven.project.DuplicatProjectException
2013-07-27 19:16:52 +02:00
Olivier Lamy
d5259127ed
add missing @since 3.0.2
2013-07-20 15:46:16 +10:00
Hervé Boutemy
465202c505
added a link to ArtifactHandler API
2013-07-19 19:34:02 +02:00
Hervé Boutemy
a2d30c322e
bump to 3.1.1-SNAPSHOT
2013-07-19 19:31:00 +02:00
Stephen Connolly
9f7d5171fe
narrow the exclusion
2013-07-18 11:19:00 +01:00
Arnaud Héritier
9f8eabce22
Bump to 3.2-SNAPSHOT
2013-07-15 22:37:09 +02:00
Jason van Zyl
271761de84
[maven-release-plugin] prepare for next development iteration
2013-06-27 22:10:23 -04:00
Jason van Zyl
893ca28a1d
[maven-release-plugin] prepare release maven-3.1.0
2013-06-27 22:10:16 -04:00
Jason van Zyl
09e77b53f0
Revert "[maven-release-plugin] prepare release maven-3.1"
...
This reverts commit a47ef06832
.
2013-06-23 08:15:55 -07:00
Jason van Zyl
87e5972726
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit e22b2fa16a
.
2013-06-23 08:15:29 -07:00
Jason van Zyl
e22b2fa16a
[maven-release-plugin] prepare for next development iteration
2013-06-23 08:03:57 -07:00
Jason van Zyl
a47ef06832
[maven-release-plugin] prepare release maven-3.1
2013-06-23 08:03:53 -07:00
Arnaud Héritier
21907a74e7
Revert "Code cleanup - It's better (for perfs) to use a chain of append() calls than a unique append with several Strings concatenations"
...
This reverts commit c8e94a5b08
.
Decreases too much the code readibility
2013-06-14 10:29:43 +02:00
Arnaud Héritier
456268af61
Code cleanup - Remove Redundant Cast(s)
2013-06-11 22:28:48 +02:00
Arnaud Héritier
da48cfff83
Code cleanup - Redundant array creation for calling varargs method
2013-06-11 22:27:26 +02:00
Arnaud Héritier
d92746dc25
Code cleanup - Maven requires Java 5+ : Replace for and while loops by for each
2013-06-11 22:21:54 +02:00
Arnaud Héritier
1f84f8f296
Code cleanup - Maven requires Java 5+ : Replace String.indexOf() by String.contains()
2013-06-11 22:19:20 +02:00
Arnaud Héritier
9e5183f0ad
Code cleanup - Various code simplifications (tests, loops, …)
2013-06-11 22:09:51 +02:00
Arnaud Héritier
c8e94a5b08
Code cleanup - It's better (for perfs) to use a chain of append() calls than a unique append with several Strings concatenations
2013-06-11 21:58:50 +02:00
Arnaud Héritier
96db1abbe9
Code cleanup - Maven requires Java 5+ : Remove unnecessary boxing
2013-06-11 21:43:53 +02:00
Arnaud Héritier
143216f93a
Fix misprint
2013-06-11 20:53:31 +02:00
Hervé Boutemy
4ec06bf67c
default m-site-p plugin is 3.3
2013-06-02 12:40:38 +02:00
Jason van Zyl
e1286aea83
[maven-release-plugin] prepare for next development iteration
2013-06-01 08:56:26 -04:00
Jason van Zyl
c726cdd3a9
[maven-release-plugin] prepare release maven-3.1.0-alpha-1
2013-06-01 08:56:20 -04:00
Hervé Boutemy
ac64dd6bb6
[MNG-5482] detect missing Sonatype Aether classes to give a hint to
...
AetherClassNotFound Wiki article
2013-05-30 03:10:51 +02:00
rfscholte
4cc6a3fdef
Fix Javadoc warnings
2013-05-28 23:29:01 +02:00
Stephen Connolly
85eed72eb1
In the canonical pom order, i.e. our pom.xml code style, <pluginManagement> comes before <plugins>
2013-05-28 10:49:38 +01:00
Stephen Connolly
348f716433
Add Apache RAT pluging configuration to exclude files that have a legitimate reason for being excluded
...
- We should maybe review this list periodically, but to my mind there are legitimate reasons for excluding all of these files from the ASL license header requirements
2013-05-28 10:37:02 +01:00
Stephen Connolly
c6c6bdc49f
Add ASL license header
2013-05-28 10:19:32 +01:00
Jason van Zyl
326303e22a
[maven-release-plugin] prepare for next development iteration
2013-05-25 08:33:08 -04:00
Jason van Zyl
42b69f0b0a
[maven-release-plugin] prepare release maven-3.1.0-alpha-1
2013-05-25 08:33:02 -04:00
Jason van Zyl
00b9029094
[maven-release-plugin] prepare for next development iteration
2013-05-23 10:23:11 -04:00
Jason van Zyl
32d720ea0c
[maven-release-plugin] prepare release maven-3.1.0-alpha-1
2013-05-23 10:23:05 -04:00
Hervé Boutemy
d7b31b3c90
reapplied commit 994a27d004
after Eclipse
...
Aether merge:
removed code duplication: maven-core should use base
MavenRepositorySystemUtils provided by maven-aether-provider as a
basis before adding environment configuration instead of copy/paste
Aether configuration
2013-04-09 08:27:06 +02:00
Jason van Zyl
95fbf6f445
[maven-release-plugin] prepare for next development iteration
2013-03-30 10:52:15 -04:00
Jason van Zyl
262b9bb1ef
[maven-release-plugin] prepare release maven-3.1.0-alpha-1
2013-03-30 10:52:10 -04:00
Jason van Zyl
08eab1953d
o revert release plugin commits
2013-03-30 10:50:39 -04:00
Jason van Zyl
01c969e1eb
[maven-release-plugin] prepare for next development iteration
2013-03-30 10:21:32 -04:00
Jason van Zyl
2decac4869
[maven-release-plugin] prepare release maven-3.1.0
2013-03-30 10:19:45 -04:00
Hervé Boutemy
42962fa281
code formatting
2013-03-30 09:37:11 +01:00
Kristian Rosenvold
973673721b
[MNG-5456] Incorrect exception handling in parallel build
2013-03-30 07:00:05 +01:00
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