10939 Commits

Author SHA1 Message Date
Guillaume Boué
a1fe421995 [MNG-6240] Duplicate components in plugin extension realm when plugin depends on maven-aether-resolver
Maven Core needs to export the maven-aether-provider artifact so that its components do not get added twice in plugin realm. This happens if the build uses an extension plugin depending on maven-aether-provider, before it was renamed to maven-resolver-provider
2017-06-14 19:55:41 +02:00
dejan2609
12d6471337 [MNG-6207] Create WARNINGs in case of using system scope
o display deprecation build warning for dependencies with scope 'system' declaration
 o Note about tests: existing 'systemPath' related tests are reused/expanded
   (rationale: scope 'system' and 'systemPath' are mutually dependent)

Signed-off-by: Karl Heinz Marbaise <khmarbaise@apache.org>
2017-06-11 13:55:07 +02:00
Hervé Boutemy
707cff6ffd [MNG-6186] fixed path to jansi native libs in distribution 2017-06-10 08:04:43 +02:00
dejan2609
eb6b212b56 [MNG-6206] display deprecation build warning in case when dependencies
use metaversions (LATEST or RELEASE)

Signed-off-by: Karl Heinz Marbaise <khmarbaise@apache.org>
2017-06-04 20:23:02 +02:00
Dan Tran
a7dddcb876 [MNG-6084] Support JSR 250 annotations 2017-05-25 20:05:35 +02:00
Igor Fedorenko
66fc74d629 MNG-6233 don't mix plexus and jsr330 annotations in aether-provider
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2017-05-24 15:33:04 -04:00
Hervé Boutemy
44634982a1 improved modello and animal sniffer's execution ids 2017-05-21 19:14:54 +02:00
Michael Osipov
ecef59f1cb [MNG-6167] Clean up dependency mess (reported by dependency:analyze)
Clean up compile and runtime dependencies. Test dependencies have not been
touched because their seem to be false positives due to DI.
2017-05-16 15:27:22 +02:00
Christian Schulte
f4ede96fd0 [MNG-5935] Optional true getting lost in managed dependencies when transitive
Updated to correctly map the optional flag of Maven model dependencies to
Aether dependencies. Prior to this change all managed dependencies implicitly
had the optional flag set to 'false' leading to Aether managing that flag to
'false' on all managed dependencies when transitive.
2017-05-10 10:36:19 +02:00
Michael Osipov
fd988e78e9 [MNG-6228] Optionality not displayed in dependency tree when run in debug mode
Log message in DefaultProjectDependenciesResolver has been extended with
"(optional)" if dependency is marked as optional (direct or transitive).
2017-05-09 22:15:21 +02:00
Hervé Boutemy
6182a2083f [MNG-6186] use enhanced HawtJNI library loading (remove previous hack) 2017-05-09 21:08:13 +02:00
Hervé Boutemy
2a79d1e71e [MNG-6205] upgraded JAnsi to 1.16 for console encoding fix
also fixes MNG-6218 MinGW bash detection fixed by JAnsi 1.14
2017-05-09 21:08:04 +02:00
Hervé Boutemy
2d4401557c [MNG-6223] support -f path/to/dir when detecting .mvn 2017-05-09 21:07:41 +02:00
Anton Tanasenko
be22380893 Add a ProjectArtifactsCache similar to PluginArtifactsCache
Signed-off-by: Jason van Zyl <jason@vanzyl.ca>

closes #82
2017-05-05 22:08:16 +02:00
Michael Osipov
f7d4bce233 [MNG-6149] MetadataResolutionResult#getGraph() never resolves request type 'test' 2017-04-21 22:57:53 +02:00
Michael Osipov
3938817fd3 Doc improvement in simplelogger.properties 2017-04-21 22:50:11 +02:00
Igor Fedorenko
c2c6259de6 MNG-6210 allow maven custom guice scopes in .mvn/extensions
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2017-04-14 10:38:45 -07:00
Igor Fedorenko
ec629f7d51 MNG-6209 better executeMojo thread context classloader
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2017-04-13 14:12:23 -07:00
Hervé Boutemy
567af0d964 use "java -jar" command 2017-04-12 03:59:44 +02:00
Lubomir Varga
6a93bbea23 Improve Javadoc of ComparableVersion#main()
This closes #108
2017-04-11 16:02:21 +02:00
Hervé Boutemy
08f3c76a09 improved description of styled message API 2017-04-08 08:50:55 +02:00
Stephen Connolly
70eabfe0f2 Update the DOAP to include the 3.5.0 release 2017-04-07 09:11:30 +01:00
Stefan Eicher
4c6d3a3462 Minor cleanup in MavenCli.java
There is some unnecessary code in the MavenCli.java from line #1465 to #1474.
The functionality has been moved to line #1215.

Signed-off-by: Karl Heinz Marbaise <khmarbaise@apache.org>
2017-04-05 23:51:26 +02:00
Stephen Connolly
a4b0b63b62 [maven-release-plugin] prepare for next development iteration 2017-04-03 20:35:47 +01:00
Stephen Connolly
ff8f5e7444 [maven-release-plugin] prepare release maven-3.5.0 maven-3.5.0 2017-04-03 20:35:30 +01:00
Stephen Connolly
87cf1eeb7d [MNG-6198] Use the directory specified by -f for searching with 'mvn' 2017-04-01 11:29:09 +01:00
Stephen Connolly
96543b7c6e [MNG-6195] Tidy up quoting and command substitution 2017-04-01 11:29:09 +01:00
rfscholte
00c82b7e23 Squashed commit of the following:
commit 049228ce76927a6740500e1b750f0e8f201f2478
Author: rfscholte <rfscholte@apache.org>
Date:   Mon Mar 27 20:22:46 2017 +0200

    [MNG-6185] Replace doclettag explanation with annotations in AbstractMojo javadoc

    Fix by Checkstyle reported issues

commit 63796a649e6e3b25a58fb567d354ca1849f48819
Author: rfscholte <rfscholte@apache.org>
Date:   Sat Mar 25 23:15:00 2017 +0100

    [MNG-6185] Replace doclettag explanation with annotations in AbstractMojo javadoc
2017-03-29 19:50:15 +02:00
Hervé Boutemy
0baa423452 use new "Maven 3 (latest)" and "JDK 1.x (latest)" Ubuntu+win aliases 2017-03-28 08:05:56 +02:00
Hervé Boutemy
94c3b600ec switch to embedded core ITs run for faster result 2017-03-28 08:04:16 +02:00
Hervé Boutemy
ad514f5cb5 added CORE_IT_PROFILES parameter 2017-03-28 08:04:07 +02:00
Hervé Boutemy
16805f50ea trying to make Jenkinsfile easier to understand 2017-03-28 08:03:44 +02:00
Stephen Connolly
33c8d8efe9 INFRA have been changing JDK labels again 2017-03-27 16:22:29 +01:00
Christian Schulte
8400984ac5 [MNG-6112] Central repository in the 4.0.0 super POM should declare update policy 'never'.
This reverts commit 13adc1bc2b6d9fc3a62ec2389996726c2edce4d8 *not changing
anything* just because someone did not react in time when this issue had been
lying around on a branch. If we would set pace for the industrie, everyone would
still be using 5.25" floppy disks and 8 bit hardware and we would tell them
that upgrading to be able to use new software would be too risky and they
better keep theire broken assembly routines until the machine goes up in
smoke.
2017-03-25 20:53:06 +01:00
Christian Schulte
0931bb2cc7 [MNG-6168] Fix unclosed streams 2017-03-24 22:04:37 +01:00
Hervé Boutemy
f0535a40e2 [MNG-6192] upgraded m-assembly-p to get ordered entries in zip 2017-03-23 05:11:12 +01:00
Christian Schulte
27ab7503a7 [MNG-6190] maven-resolver-provider's DefaultArtifactDescriptorReader has mismatched constructor and initService methods 2017-03-21 19:16:44 +01:00
Christian Schulte
13adc1bc2b [MNG-6112] Central repository in the 4.0.0 super POM should declare update policy 'never'. 2017-03-21 00:30:28 +01:00
Christian Schulte
d54e6f91a8 s/@since 3.5.0-alpha-2/@since 3.5.0/g 2017-03-21 00:21:43 +01:00
Stephen Connolly
fd29ddebf9 [maven-release-plugin] prepare for next development iteration 2017-03-20 16:55:53 +00:00
Stephen Connolly
214540c2ae [maven-release-plugin] prepare release maven-3.5.0-beta-1 maven-3.5.0-beta-1 2017-03-20 16:55:36 +00:00
Stephen Connolly
68e38e5086 Make it possible to run unit tests from an IDE 2017-03-19 21:55:46 +00:00
Hervé Boutemy
1638280261 [MNG-6189] warn if maven-site-plugin reportPlugins is configured 2017-03-19 21:51:53 +01:00
Stephen Connolly
abca6ab6e2 Merge remote-tracking branch 'origin/MNG-6182' 2017-03-19 17:18:53 +00:00
Hervé Boutemy
fea81d8a27 fixed site generation: downgraded parent pom, upgraded m-assembly-p 2017-03-19 14:44:33 +01:00
Hervé Boutemy
a4157428d7 updated parent pom: fixes issue with m-assembly-p bug 2017-03-19 10:38:18 +01:00
Christian Schulte
f1ccecdd89 [MNG-6182] ModelResolver interface enhancements.
o Added unit tests for the 'ModelResolver' interface.
2017-03-19 04:01:34 +01:00
Stephen Connolly
55eeb325cd [MNG-6176] Upgrade findbugs to 3.0.4 so that the site can be built with Java 7 and 8 2017-03-18 12:34:45 +00:00
Stephen Connolly
b12905ce02 [MNG-6176] Fix javadoc *errors* in maven-compat 2017-03-18 12:34:45 +00:00
rfscholte
52eecc406f MNG-6078: commons-cli 1.4 released 2017-03-18 12:59:51 +01:00