Robert Scholte
626884e9ee
[MNG-4099] Password encryption CLI switches should prompt for password if missing
2014-01-10 22:29:00 +01:00
Olivier Lamy
60437a28a9
[MNG-5559] upgrade to last wagon 2.6
2014-01-10 15:32:48 +11: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
Olivier Lamy
0f48aabf52
tagBase not needed anymore
2014-01-08 15:49:50 +11:00
Stephen Connolly
5cf05463a4
[MNG-3626] Small change to artifact version parsing.
...
Applied patch inspired by patch submitted by Paul Gier.
- Substantially rewrote test case to match current testing style
- Changed the patch to ensure that 4 segment number only version number are not affected... would be nice to pick them up but holding that change back for now
2014-01-07 16:38:01 +00:00
Robert Scholte
61dbaabfbd
[MNG-5528] Help text confuses people
2014-01-06 23:21:26 +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
cefae8d47e
Close stream
2014-01-06 11:19:07 +00:00
Stephen Connolly
33c53dcae8
Safer deletes
2014-01-06 11:14:45 +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
6c6b34b080
If it's not a pluginDescriptor then it's not equals and we should not throw a CCE
2014-01-06 11:01:50 +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
d728b0218f
Prevent potential NPE and provide a faster path via identity check
2014-01-06 10:51:04 +00:00
Stephen Connolly
7267996db8
Simplify logic
2014-01-06 10:49:03 +00:00
Stephen Connolly
a6614ebd68
Simplify logic
2014-01-06 10:48:26 +00:00
Stephen Connolly
4ff2d7ef2a
document why this is not a NPE
2014-01-06 10:46:44 +00:00
Stephen Connolly
445421051c
potential NPE
2014-01-06 10:43: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
9725c715a5
Should always call super.finalize()... though I do wonder why we are calling a finalizer at all... bad design smell
2014-01-06 10:33:58 +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
71f73b29fa
Use for each
2014-01-06 10:30:42 +00:00
Stephen Connolly
3480789f18
[MNG-5558] JVM used to run Maven must now be Java 1.6 or newer - can still compile and run tests with older JVMs via toolchains
2014-01-06 10:19:53 +00:00
Stephen Connolly
1f3182d7e6
add detail on when we can remove the explicit rat version
2014-01-06 10:13:16 +00:00
Stephen Connolly
4a44036add
due to the plugins that we use, you need maven 2.2.1+ to build maven 3.2.x, so let's record that fact
2014-01-06 09:58:51 +00:00
Stephen Connolly
44f9839ba5
[MNG-5558] JVM used to run Maven must now be Java 1.6 or newer - can still compile and run tests with older JVMs via toolchains
2014-01-06 09:55:21 +00:00
Stephen Connolly
77aeb15556
targetting 3.2.0 release
2014-01-06 09:49:00 +00:00
Stephen Connolly
ad00a36a49
Update to RAT 0.10 which does not kill with performance like 0.9 did
2014-01-06 09:48:40 +00:00
Jesse Glick
2eb419ed95
[MNG-5075] MavenProject.getParent throws undocumented ISE
...
Submitted by Jesse Glick
2014-01-05 19:17:03 +00:00
Jason van Zyl
93d07bdf99
Update to the latest plexus-utils with fixes for the ReflectionValueExtractor (MNG-5553)
...
Update to the latest version of Guava that is 1.6 and works with Sisu
2013-12-24 12:52:20 -05: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
b610e6d045
MNG-5553 plexus-utils 3.0.16-SNAPSHOT
...
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2013-12-18 15:18:14 -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
Hervé Boutemy
07fecbd9e6
fixed 70218af1c1
in case comand line
...
contains spaces
2013-11-24 19:50:10 +01:00
Robert Scholte
65c135d529
[MNG-3832] Allow wildcards in dependency exclusions
...
Already supported since M3.0, now adjust warnings
2013-11-21 22:17:43 +01:00
Hervé Boutemy
b5ce17bb89
use doxia-module-markdown 1.5
2013-11-18 23:11:41 +01: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
John Casey
70218af1c1
Adding envar MAVEN_CMD_LINE_ARGS to shell scripts to provide consistency for accessing CLI args via env.MAVEN_CMD_LINE_ARGS user property (from plugins, for example).
2013-10-21 13:26:56 -05: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