Commit Graph

10636 Commits

Author SHA1 Message Date
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
pazderski 3645593bfa [MNG-6983] Plugin key can get out of sync with artifactId and groupId
The plugin key is build as combination of artifactId and groupId but not
updated if either of these two ids change.
This can be a problem if artifactId or groupId is a variable. The calculated
key will likely contain the unresolved property and is not updated once the
variable is interpolated.

This closes #372
2021-06-26 21:19:56 +02:00
Sylwester Lachiewicz 68e02c27e1 [MNG-6071] Normalize relative paths for working directory 2021-06-26 21:11:40 +02:00
olivier lamy 66a4381377 [MNG-5868] No duplicate artifacts in attached artifacts
if attached artifacts already contains the artifact remove it and add the new one

Signed-off-by: olivier lamy <olamy@apache.org>
2021-06-26 20:56:05 +02:00
Hervé Boutemy d6c9614fa9 [MNG-7117] update link to settings xsd for version 1.2.0 2021-05-25 07:43:02 +02:00
Hervé Boutemy cfe05372b7 [MNG-7155] upgrade maven-source-plugin from 3.2.0 to 3.2.1 2021-05-16 11:53:46 +02:00
Michael Osipov fbec4e7b3d [MNG-7152] Upgrade Maven Resolver to 1.6.3 2021-05-11 14:11:10 +02:00
rfscholte 5213f43df1 [maven-release-plugin] prepare for next development iteration 2021-03-30 19:15:13 +02:00
rfscholte 05c21c65bd [maven-release-plugin] prepare release maven-3.8.1 2021-03-30 19:14:35 +02:00
Hervé Boutemy d295dc362f [MNG-7128] keep blocked attribute from mirrors in artifact repositories 2021-03-25 23:51:26 +01:00
Hervé Boutemy a46906806a next version in branch 3.8.x is 3.8.1-SNAPSHOT 2021-03-24 19:33:13 +01:00
rfscholte dad8a3e1c5 [maven-release-plugin] prepare for next development iteration 2021-03-21 22:31:55 +01:00
rfscholte 6aa1f4acf5 [maven-release-plugin] prepare release maven-3.8.0 2021-03-21 22:31:24 +01:00
Hervé Boutemy 907d53ad32 [MNG-7118] block HTTP repositories by default 2021-03-19 20:45:18 +01:00