Commit Graph

10699 Commits

Author SHA1 Message Date
Michael Osipov 7ecdb3c970 [MNG-7198] Upgrade SLF4J to 1.7.32 2021-07-27 15:02:01 +02:00
Michael Osipov 51f6d8b852 [MNG-7196] Upgrade Jansi to 2.3.4 2021-07-25 14:32:50 +02:00
Michael Osipov f32eb09892 [MNG-7010] Omit "NB: JAVA_HOME should point to a JDK not a JRE"
This closes #512
2021-07-25 14:25:28 +02:00
Michael Osipov 22a8cfa059 [MNG-6648] 'mavenrc_pre' script does not receive arguments like mavenrc in Bourne shell does
This closes #511
2021-07-23 20:08:17 +02:00
Guillaume Nodet b74199ed44 [MNG-7034] StackOverflowError thrown if a cycle exists in BOM imports
This closes #484
2021-07-23 19:58:08 +02:00
Hervé Boutemy c395ca976d [MNG-7190] add /usr/local/etc/mavenrc to reference documentation 2021-07-20 22:42:11 +02:00
Michael Osipov 25df095829 [MNG-7190] Load mavenrc from /usr/local/etc also in Bourne shell script 2021-07-19 23:57:44 +02:00
Michael Osipov 268f956574 Use proper term: directory 2021-07-19 23:47:10 +02:00
Nils Breunese 176b272f30 [MNG-7185] Describe explicit and recommended version for VersionRange.createFromVersionSpec()
This closes #487
2021-07-14 12:47:59 +02:00
Michael Osipov a3907fcb2b [MNG-6754] Set the same timestamp in multi module builds
Reuse MavenExecutionRequest#getStartTime() throughout for snapshot versions,
last updated fields in metadata consistently for local and remote repositories
for the entire reactor and its modules.

This closes #381
2021-07-12 19:47:14 +02:00
Romain Manni-Bucau f32c3dba94 [MNG-6471] Parallel builder should use the module name as thread name
This closes #177
2021-07-12 19:42:57 +02:00
Karl Heinz Marbaise 5060349e67 [MNG-6811] - Remove unnecessary filtering configuration 2021-07-12 19:41:56 +02:00
Karl Heinz Marbaise 5d6bb35b04 [MNG-6810] - Remove profiles in maven-model 2021-07-12 19:40:58 +02:00
Marc Bruggmann a27b4ee595 [MNG-6987] Reorder groupId before artifactId when writing an exclusion using maven-model
In most other places, we order the groupId before the artifactId.
Exclusion was the odd one out, so I changed it to be in line with
the others.

This closes #375
2021-07-12 19:38:30 +02:00
Michael Osipov 842e7c88da [MNG-7186] Upgrade Guice to 4.2.2 2021-07-12 19:37:37 +02:00
Hervé Boutemy 0635e92665 [MNG-7184] document .mavenrc/mavenrc_pre.bat|cmd and MAVEN_SKIP_RC 2021-07-11 19:03:22 +02:00
Michael Osipov 7a8acdd8e6 [MNG-7181] Make --version support -q 2021-07-03 19:20:23 +02:00
Michael Osipov 7b355f7223 [MNG-7180] Make --color option behave more like BSD/GNU grep's --color option 2021-07-03 18:53:54 +02:00
Michael Osipov 7358b084b1 Add new ignores 2021-07-03 11:12:47 +02:00
Michael Osipov 8b693cc992 Document hacks as such 2021-07-02 17:51:17 +02:00
Artem Krosheninnikov 9ae1d95a58 [MNG-6844] Use StandardCharsets and remove outdated @SuppressWarnings
This closes #312
2021-07-02 14:53:16 +02:00
huangkaifeng 2a2392f15e [MNG-6873] Align JUnit version to 4.13
Closes #331
2021-07-02 14:50:25 +02:00
Karl Heinz Marbaise 4259ba8afd [MNG-6884] - Cleanup POM File after version upgrade 2021-07-02 14:22:39 +02:00
Karl Heinz Marbaise 40f1082cfa [MNG-6874] - Upgrade Maven Parent to 34 2021-07-02 14:22:18 +02:00
Dennis Lundberg 9189425150 [MNG-6967] Improve the command line output from maven-artifact. 2021-07-02 14:21:27 +02:00
Michael Osipov 8f58b85eaf [MNG-7064] Use HTTPS for schema location in global settings.xml 2021-07-02 14:13:26 +02:00
Michael Osipov b5ee583381 [MNG-6859] Build not reproducible when built from source release
This closes #322
2021-07-02 14:02:05 +02:00
Guillaume Dufour 8edac61ae5 [MNG-7149] Introduce MAVEN_DEBUG_ADDRESS in mvnDebug scripts
mvnDebug socket now binds by default on 8000. set MAVEN_DEBUG_ADDRESS
environment variable to choose another address (host:port).

This closes #469
2021-07-02 13:59:53 +02:00
Artem Krosheninnikov a659ade9a0 [MNG-6827] Replace deprecated StringUtils#defaultString() from Plexus Utils
This closes #302
2021-07-02 10:46:56 +02:00
Rostislav Krasny 01780c0ff3 [MNG-6853] - Don't box primitives where it's not needed
Closes #318
2021-07-02 10:42:27 +02:00
Karl Heinz Marbaise 6f5c3d57a6 [MNG-6872] - Found CVEs in your dependencies - plexus-utils (tests) 2021-07-02 10:40:32 +02:00
Olivier Lamy 41efc134a9 [MNG-6886] upgrade plexus-cipher to 1.8 and update changed groupId (#335)
Signed-off-by: olivier lamy <olamy@apache.org>
2021-07-02 10:28:16 +02:00
Slawomir Jaranowski d862fdd841 [MNG-6993] Upgrade SLF4J to 1.7.30
This closes #380
2021-07-02 10:23:24 +02:00
Carlos Chacin 484e502737 [MNG-7127] fix MavenCliTest.testStyleColors test in JDK 16
The MavenCliTest.testStyleColors is not failing when the build
is under JDK 8 or JDK 11.

After changing to JDK 16, the test fails, this commit is to fix
the NullPointerException.

Tested on JDK 8, 11 adn 16 with:

`mvn clean verify`
2021-06-30 22:30:37 +02:00
Guillaume Nodet f98e632108 [MNG-7080] Add a --color option to simplify color support 2021-06-30 22:16:22 +02:00
Guillaume Nodet 39254860d6 [MNG-7032] Evaluate --help and --version after configuring the logging/color 2021-06-30 21:57:55 +02:00
rfscholte 73f34c00d1 [MNG-7172] Remove expansion of Jansi native libraries 2021-06-30 21:19:41 +02:00
Michael Osipov 14ff5dd0da [MNG-7177] Upgrade Maven Shared Utils to 3.3.4 2021-06-30 21:11:51 +02:00
rfscholte bfd7c491b8 [MNG-7179] Upgrade Jansi to 2.3.3 2021-06-30 21:10:54 +02:00
Mickael Istria 5a89973126 [MNG-7170] Allow to associate pomFile/${basedir} with DefaultProjectBuilder.build(ModelSource, ...)
Actually a subset backport of MNG-5669 (5cdb8332f9)

Also-By: rfscholte <rfscholte@apache.org>

This closes #478
2021-06-27 00:33:40 +02:00
Rostislav Krasny 3a465e1477 [MNG-6837] Simplify detection of the MAVEN_HOME and make it fully qualified on Windows
The removed 'stripMHome' recursive function is not needed anymore

This closes #307
2021-06-26 23:47:23 +02:00
Artem Krosheninnikov d4ad077ef5 [MNG-6816] Prefer System.lineSeparator() over system properties
This closes #300
2021-06-26 23:41:16 +02:00
Michael Osipov b476b28ecb [MNG-7000] metadata.mdo contains invalid link to schema 2021-06-26 22:57:32 +02:00
Dennis Lundberg ce27f0ec61 [MNG-6964] Maven version sorting is internally inconsistent. 2021-06-26 22:50:27 +02:00
Michael Osipov a9f337fd63 [MNG-6937] StringSearchModelInterpolatorTest fails on symlinked paths
Don't compare baseDir in a canonical form when the second comparing value
(System.getProperty( "user.dir" )) is not canonicalized.

This closes #361
2021-06-26 22:46:59 +02:00
Falko Modler 76d5f0d942 [MNG-6843] Parallel build fails due to missing JAR artifacts in compilePath
Signed-off-by: rfscholte <rfscholte@apache.org>
(cherry picked from commit 73e00ed85d)

This closes #482
2021-06-26 22:40:14 +02:00
Rostislav Krasny 42c99b45e4 [MNG-6850] Prevent printing the EXEC_DIR when it's just a disk letter
This fixes following bug and also consistent with another 'cd /d "%EXEC_DIR%"' a few lines above.
When you're on the root of some disk running mvn.cmd prints an extra line with current dir before the correct output

Closes #304
2021-06-26 22:34:46 +02:00
Artem Krosheninnikov 863f9193e6 [MNG-6842] ProjectBuilderTest uses Guava, but Guava is not defined in dependencies
This closes #311
2021-06-26 22:24:17 +02:00
Sylwester Lachiewicz b5056e4188 [MNG-6828] DependencyResolutionException breaks serialization 2021-06-26 22:17:45 +02:00
碎镜 2f144dec13 [MNG-6819] Fix NullPointerException in StringVisitorModelInterpolator
Closes #301
2021-06-26 21:59:19 +02:00