Commit Graph

11436 Commits

Author SHA1 Message Date
Michael Osipov f50de4ce9e [MNG-7210] Deprecate mavenrc_{pre,post}.{bat,cmd} scripts
This closes #545
2021-09-19 21:05:54 +02:00
George Gastaldi a1ba33069f [MNG-7253] Display relocation message defined in model
Move logging to DefaultArtifactDescriptorReader

This closes #543
2021-09-18 20:39:37 +02:00
Michael Osipov 8c297e93a3 [MNG-7254] Expand Windows native libraries for Jansi due to JDK-8195129 (workaround)
This closes #542
2021-09-16 22:11:08 +02:00
Guillaume Nodet 23ffe3349f [MNG-7236] The DefaultPluginVersionResolver should cache results for the session 2021-09-14 20:10:13 +02:00
Michael Osipov 6b6589bf1c [MNG-7219] [Regression] plexus-cipher missing from transitive dependencies 2021-09-14 19:21:08 +02:00
Falko Modler a6e462b53a [MNG-7251] Fix threadLocalArtifactsHolder leaking into cloned project
This closes #535
2021-09-14 17:22:42 +02:00
Tamas Cservenak 406c525ec4 [MNG-7250] Upgrade Sisu Inject/Plexus to 0.3.5
Since we have replaced the old JSR 250 library with javax.annotation library we
go straight to 1.3.2 because Maven Resolver 1.7.0 introduced this already as a
transitive dependency in fc806a25eb.
The only difference between version 1.2 and 1.3.2 is a Java upgrade from 6 to 8.

This closes #539
2021-09-13 22:57:31 +02:00
Michael Osipov aa30d9690b [MNG-7247] Upgrade Maven Resolver to 1.7.2 2021-09-12 12:10:35 +02:00
Tamas Cservenak 067171d28a [MNG-7246] Upgrade Plexus Cipher and Sec Dispatcher to 2.0
Both plexus-cipher and plexus-sec-dispatcher have had a
groupId change, but plexus-cipher change was implemented
for 1.8 version.

Latest versions of artifacts are 2.0. This PR
ups plexus-cipher version and adds proper changes
for plexus-sec-dispatcher groupId change.

This closes #534
2021-09-11 10:52:20 +02:00
Mickael Istria 76d7f58a61
[MNG-7226] DefaultModelBuilder.buildRawModel fails (#528)
as it ignores pom file
2021-09-03 09:56:30 +02:00
Hervé Boutemy 92d2c2e3b4 [MNG-7209] Document user mavenrc.cmd in Windows command script 2021-08-20 02:26:03 +02:00
Hervé Boutemy b20bfb1a08 [MNG-7208] Document system-wide mavenrc.cmd in Windows command script 2021-08-20 02:12:50 +02:00
Michael Osipov 0682a1cc0a [MNG-7208] Introduce a system-wide mavenrc.cmd in Windows command script
This closes #523
2021-08-18 09:42:51 +02:00
Michael Osipov 48a9e04c5e [MNG-7209] Introduce a user mavenrc.cmd in Windows command script
This closes #522
2021-08-18 09:40:47 +02:00
Mickael Istria f594c0b916 Add ModelSource test for MNG-5669
This closes #525
2021-08-17 10:59:48 +02:00
Michael Osipov 0137f35c1b Document Maven 3.8.2 release 2021-08-13 22:01:16 +02:00
Michael Osipov 5acdfb6650 [MNG-7205] Simplify/unify Cygwin/MingGW handling in startup scripts
This closes #520
2021-08-02 21:09:55 +02:00
Michael Osipov a2a3df3d02 [MNG-7203] Introduce a long option --verbose and deprecate --debug
This closes #519
2021-08-01 22:33:33 +02:00
Michael Osipov 750cb6cb15 [MNG-7199] MAVENHOME_CONFIG var in mvnlauncher script improperly handles two options at once
This closes #518
2021-08-01 15:38:37 +02:00
Arnaud Heritier ef62d7a4bd
Merge pull request #516 from aheritier/ci-maven
[chore] - Update CI environment
2021-07-27 16:33:49 +02:00
Michael Osipov 06bc508727 [MNG-7198] Upgrade SLF4J to 1.7.32 2021-07-27 14:58:11 +02:00
Arnaud Héritier 43eb189a92
[chore] Update CI environment
Replace ci-builds by ci-maven
2021-07-26 15:48:10 +02:00
Michael Osipov 52c12dab44 [MNG-7195] Rework JAVA_HOME handling
Adjust JAVA_HOME for mvnw and mvnwDebug
2021-07-26 00:39:38 +02:00
Michael Osipov a21be1d231 [MNG-7195] Rework JAVA_HOME handling
Dramatically simplify/rework handling by leaving setting JAVA_HOME to
the user and try to load java(1) command from it. Technically Maven itself does
not require JAVA_HOME to be set. If not set, use java(1) command from
PATH on both Windows and POSIX-like systems.

This closes #514
2021-07-25 22:33:33 +02:00
Michael Osipov 6c67c9d0a6 [MNG-7197] Simplify exit code handling in Windows command startup script
This closes #512
2021-07-25 14:55:39 +02:00
Michael Osipov 021e53f627 [MNG-7196] Upgrade Jansi to 2.3.4 2021-07-25 14:32:31 +02:00
Michael Osipov 5fa834f78b [MNG-7010] Omit "NB: JAVA_HOME should point to a JDK not a JRE"
This closes #512
2021-07-25 14:23:00 +02:00
Elliotte Rusty Harold 9c69c78531 remove unused property
This closes #467
2021-07-24 00:01:41 +02:00
Michael Osipov a2ab329edc Warn also on Windows when JAVA_HOME isn't set 2021-07-23 21:05:33 +02:00
Michael Osipov f7a775b79a [MNG-6648] 'mavenrc_pre' script does not receive arguments like mavenrc in Bourne shell does
This closes #511
2021-07-23 20:06:58 +02:00
rfscholte a2f81065ff [MNG-6656] Features must use userProperties instead of systemProperties 2021-07-23 11:21:18 +02:00
Michael Osipov 1328d6ef7f [MNG-7192] Remove unsed MAVEN_CMD_LINE_ARGS environment variable in startup scripts
This closes #492
2021-07-22 16:33:40 +02:00
Michael Osipov 6b37fcbda8 [MNG-7191] Remove undocumented environment variable MAVEN_CONFIG in startup scripts 2021-07-22 16:12:09 +02:00
Michael Osipov b8cdac5573 [MNG-7189] Remove undocumented environment variable MAVEN_BASEDIR in startup scripts
This closes #490
2021-07-22 10:30:40 +02:00
Michael Osipov 0696cf14ad [MNG-7131] maven.config doesn't handle arguments with spaces in them
Since we don't have a clear specification of the file format change
reading of the file to a one-arg-per-line basis just like Java's
@argfiles or Python's argparse would handle it.
Consider that jvm.config suffers from the same issue its parsing is not
portable between Bourne shell and Windows Command prompt.
2021-07-21 14:31:12 +02:00
rfscholte f582ce88fc [MNG-7047] Validate that repo configuration does not contain any expression 2021-07-21 10:34:43 +02:00
Hervé Boutemy 2321e03a94 [MNG-7190] add /usr/local/etc/mavenrc to reference documentation 2021-07-20 22:41:03 +02:00
Michael Osipov 87120634a6 [MNG-7190] Load mavenrc from /usr/local/etc also in Bourne shell script 2021-07-19 23:56:22 +02:00
Michael Osipov 94df4a819a Apply consistent formatting 2021-07-19 23:49:17 +02:00
Michael Osipov e9a54c6d02 Use proper term: directory 2021-07-19 23:45:50 +02:00
Michael Osipov e8b9cada65 Wrap line in consistency with Command script 2021-07-18 12:45:23 +02:00
Nils Breunese e29a661086 [MNG-7185] Describe explicit and recommended version for VersionRange.createFromVersionSpec()
This closes #487
2021-07-14 12:46:37 +02:00
Hervé Boutemy 1052ec5d87 [MNG-7184] document .mavenrc/mavenrc_pre.bat|cmd and MAVEN_SKIP_RC 2021-07-11 19:01:26 +02:00
Guillaume Nodet 46410d3df2
Improve the use of checkstyle in the build (#477)
* Improve the use of checkstyle in the build
* Fix wording
2021-07-06 08:09:20 +02:00
Michael Osipov a7010c55e1 [MNG-6840] Upgrade commons-lang3 to 3.12.0
This closes #308
2021-07-04 17:18:25 +02:00
Michael Osipov 1fc605dd69 [MNG-7181] Make --version support -q 2021-07-03 19:17:19 +02:00
Michael Osipov a70828c737 [MNG-7180] Make --color option behave more like BSD/GNU grep's --color option 2021-07-03 18:28:31 +02:00
Michael Osipov d8be2f0e4c Add RAT exclude 2021-07-03 12:01:06 +02:00
Michael Osipov 367093390e Add new ignores 2021-07-03 11:59:07 +02:00
Michael Osipov 78fc3734f9 Trim trailing whitespace 2021-07-02 18:47:10 +02:00