Commit Graph

11772 Commits

Author SHA1 Message Date
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
Michael Osipov b551be7445 Document hacks as such 2021-07-02 17:50:44 +02:00
Michael Osipov cbaf7f7b48 Change @since from 3.7.0 to 4.0.0 2021-06-27 00:04:50 +02:00
Falko Modler 73e00ed85d [MNG-6843] Parallel build fails due to missing JAR artifacts in compilePath
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-06-25 19:28:40 +02:00
rfscholte 6bed162a65 [MNG-7172] Remove expansion of Jansi native libraries 2021-06-24 19:24:54 +02:00
Michael Osipov 6b56fc8424 [MNG-7175] Upgrade Maven Resolver to 1.7.1 2021-06-18 15:36:04 +02:00
rfscholte f5d19f46d6 Run Maven ITs with more JDKs 2021-06-12 12:31:00 +02:00
rfscholte 371faf7a49 [MNG-7165] Upgrade JAnsi to 2.3.3 2021-06-12 11:00:52 +02:00
Sylwester Lachiewicz 706826e18e Upgrade Checkstyle Plugin to 3.1.2/Checkstyle to 8.41.1 2021-05-30 16:50:30 +02:00
Sylwester Lachiewicz ab95197436 Fix Checkstyle reported issues with maven-shared-resources 3 2021-05-30 12:00:03 +02:00
rfscholte 12f3e7e878 Remove maven-test-support in favor of plexus-testing 2021-05-28 18:26:03 +02:00
Hervé Boutemy 5c45b3fe22 [MNG-7117] update link to settings xsd for version 1.2.0 2021-05-25 07:41:58 +02:00
Guillaume Nodet a20230829c [MNG-6915] Adapt the logging width to the terminal width, including sensible limits.
Slightly modified version of e47d647eee
2021-05-22 10:49:42 +02:00
Ravil Galeyev 3fabb639a3
[MNG-6802] Fix bug in FileProfileActivator (#347)
* [MNG-6802] FileProfileActivator changes exists

FileProfileActivator changes FileProfileActivator.exists
which lets flattened resolveCiFriendliesOnly depending
fail activating profile.

* [MNG-6802] Add java docs

* [MNG-6802] PR comments fixes

* Make ProfileActivationFilePathInterpolator a class
* call super.tearDown() last

* [MNG-6802] PR comments fixes

* Get rid of reusing local variables
* Rename file-> activationFile
* Move if ( missing ) to try block
* Update javadocs
* Replace string format with concatenation
* Replace FileReader to FileInputStream

* [MNG-6802] Update javadoc

* [MNG-6802] Switch to commons lang3 StringUtils

* [MNG-6802] Switch to commons lang3 StringUtils

* [MNG-6802] Switch to plexus-utils StringUtils back

* [MNG-6802] Switch to plexus-utils StringUtils back

* [MNG-6802] Resolve conflicts

* [MNG-6802] Upgrade tests

* [MNG-6802] Fix for windows

* [MNG-6802] Remove annotation

* [MNG-6802] Create a temp dir

* [MNG-6802] Remove space

* [MNG-6802] Small refactoring

* [MNG-6802] Use JUnit5 tempDir

* [MNG-6802] Use static import

* [MNG-6802] Remove plexus

* [MNG-6802] Remove plexus

* [MNG-6802] Fix checklstyle

* [MNG-6802] Restart build

* [MNG-6802] Restart build

* [MNG-6802] Restart build (last attempt)

* [MNG-6802] Fix PR comments

* [MNG-6802] Refactor try-catch

* [MNG-6802] Fix comments in FileProfileActivatorTest

* [MNG-6802] Use primitive

* [MNG-6802] Push down path
2021-05-15 11:51:15 +00:00
Michael Osipov fc806a25eb [MNG-7151] Upgrade Maven Resolver to 1.7.0 2021-05-11 20:59:18 +02:00