Commit Graph

10307 Commits

Author SHA1 Message Date
Hervé Boutemy c19e9dcac3 [MNG-6242] detect Cygwin/Mingw pseudo terminal for Jansi 2017-10-15 10:16:00 +02:00
Hervé Boutemy 4f530c4f00 [MNG-6196] removed remaining Monkey patching, not really necessary
done after Emmanuel Bourg #118 PR idea
2017-09-26 00:19:57 +02:00
Hervé Boutemy eb2db7b286 [MNG-6196] updated slf4j to 1.7.25
[SLF4J-394] use new slf4j methods done for us
[SLF4J-395] use slf4j-simple System.out cache
2017-09-26 00:19:57 +02:00
Stephen Connolly 542a7a8915 [MNG-6275] Defang the tests when their core assumption is invalid.
- The tests assume that the JRE has a ScriptEngineFactory
- Not all JREs have a ScriptEngineFactory (I'm looking at Azul's Zulu Open JDK 7 builds)
- Ideally we'd skip these tests using Assume.assumeThat(...) but PlexusTestCase doesn't support
  AssumptionViolatedException for marking tests as skipped.

Issue identified during testing of the 3.5.1 release candidate
2017-09-11 10:25:11 +01:00
Stephen Connolly 312eb53502 [maven-release-plugin] prepare for next development iteration 2017-09-10 12:51:43 +01:00
Stephen Connolly 094e4e31a5 [maven-release-plugin] prepare release maven-3.5.1 2017-09-10 12:51:26 +01:00
Stephen Connolly 27a2bda3f4 [MNG-6275] Maven Embedder compatible fix
- Need to use PARENT_CLASSLOADER so that when used by embedder we get a
consistent view of the available classes

- Restores test case from f047ea1437
2017-09-09 11:56:27 +01:00
Karl Heinz Marbaise c9a288d8b1 [MNG-6216] ArrayIndexOutOfBoundsException when parsing POM
o Upgraded to new release of plexus-utils which contains
   the fix for #22 in plexus-utils.
2017-08-31 10:21:35 +01:00
rfscholte 170c1ed82c Revert "Squashed commit of the following:"
This reverts commit f047ea1437.
2017-08-30 11:12:20 +02:00
Stephen Connolly e44c39c2eb Update Jenkinsfile to use JENKINS-43507 syntax for resolveScm 2017-08-29 21:47:50 +01:00
rfscholte f047ea1437 Squashed commit of the following:
commit c829bdcfc275b207e23fc568b3c16d98195675be
Author: rfscholte <rfscholte@apache.org>
Date:   Thu Aug 24 10:54:08 2017 +0200

    [MNG-6275] ServiceLoaderFactory can't find implementations via ClassRealm
2017-08-24 11:33:01 +02:00
rfscholte 785bad693c [MNG-6220] Add CLI options to control color output
Introduce -Dstyle.color=[always|never|auto]
2017-08-15 21:48:57 +02:00
Mario Krizmanic f1ed6592b1 [MNG-6127] Fix plugin execution configuration interference
Signed-off-by: rfscholte <rfscholte@apache.org>
2017-08-15 21:46:29 +02:00
rfscholte 842db371f0 [MNG-6148] Can't package and assemble with JDK9/Jigsaw 2017-08-15 21:42:42 +02:00
Karl Heinz Marbaise 4f2a2dba89 [MNG-6174] Clean Up Maven Model 2017-08-02 19:31:49 +02:00
Karl Heinz Marbaise 8f8c45c990 [MNG-6123] detect self references in POM and fail fast
o Added unit test and self referencing pom
2017-08-01 22:01:36 +02:00
Michael Osipov b100257517 [MNG-5457] Show repository id when downloading or uploading from/to a remote repository 2017-07-12 20:10:47 +02:00
Michael Osipov e520324c8d [MNG-6258] Upgrade to Maven Resolver 1.1.0 2017-07-12 19:50:09 +02:00
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 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