Guillaume Nodet
4e38415b67
[MNG-7624] Use groupId:artifactId instead of empty goal ( #911 )
2022-12-15 21:18:29 +01:00
Konrad Windszus
ce18c56206
[MNG-7598] Enforce binary backwards-compatibility ( #874 )
...
For now only enabled in core and plugin-api
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-12-15 10:50:39 +01:00
Guillaume Nodet
dc47da4366
[MNG-7618] Use goalPrefix instead of artifactId 4to display mojos being executed ( #898 )
2022-12-05 16:46:15 +01:00
Guillaume Nodet
de19cfcd2b
[MNG-7601] Reformat sources
2022-11-22 14:26:01 +01:00
Michael Osipov
9c60138915
[MNG-7556] Clean up notion between user properties and system properties
...
This closes #810
2022-10-29 20:44:15 +02:00
Martin Kanters
c178b2fc1a
[MNG-7098] Keep the project counter intact when resuming a multi-module project. ( #804 )
2022-10-14 10:29:08 +02:00
Guillaume Nodet
3f90e7028e
Restore compatibility on SettingsBuilder, ToolchainsBuilder and MojoDescriptorCreator ( #820 )
2022-10-11 16:31:57 +02:00
Guillaume Nodet
2a9f39336c
[MNG-7553] New clean API with immutable model ( #703 )
2022-10-02 10:41:25 +02:00
Martin Kanters
1ca65c79fa
Revert "[MNG-7098] Keep the project counter intact when resuming a multi-module project."
...
This reverts commit 4a06f1f5c3ccc6753f8de30a6ca53af154e99f70.
2022-09-16 14:51:55 +02:00
Martin Kanters
4a06f1f5c3
[MNG-7098] Keep the project counter intact when resuming a multi-module project.
2022-09-16 14:38:44 +02:00
Marc Wrobel
8125b3131f
Fix typos in code
...
Fix minor typos in code :
- test method names,
- method parameter names,
- variable names.
2022-07-19 00:45:13 +02:00
Marc Wrobel
5ce5591ae3
Fix minor typos
...
Fix various minor typos in :
- project documentations,
- javadoc and comments,
- test files.
2022-07-18 19:22:19 +02:00
Josef Cacek
03b1faff7e
[MNG-7511] Ensure the degreeOfConcurrency is a positive number in MavenExecutionRequest
...
This closes #767
2022-07-18 13:35:27 +02:00
Hervé Boutemy
4e88d62ab2
[MNG-7501] add relative path to pom.xml in module build start output
2022-06-26 18:46:20 +02:00
Guillaume Nodet
415eaf31de
[MNG-7160] Ability to customize core extensions classloaders ( #616 )
2022-06-15 10:43:17 +02:00
Christoph Läubrich
2798ee9196
[MNG-7395] Support interpolation in extensions.xml
...
This adds support for property interpolation in extensions.xml to allow
advanced use cases where one wants to contribute certain things via the
commandline.
This closes #665
2022-02-19 22:01:10 +01:00
Giovanni van der Schelde
4476026c52
[MNG-7217] Update Commons CLI to version 1.5.0
...
Closes #605
2022-01-08 19:57:39 +01:00
Guillaume Nodet
b4773576a8
[MNG-6326] Make the build fail if core extensions can not be loaded ( #648 )
2022-01-07 10:03:15 +01:00
Guillaume Nodet
3a06530dbc
Remove duplicate call to longOpt ( #626 )
2021-12-02 11:43:23 +01:00
Julian de Bruin
98a6c4f14c
[MNG-7340] Option fail-on-severity takes one argument
...
Closes #620
2021-11-25 11:35:01 +01:00
Giovanni van der Schelde
f43f9f8a3b
[MNG-7332] No longer support --define
...
The reason is that it is broken in Commons CLI and -D just works.
We don't want to work around symptoms. Another point is that
java(1) does not have --define either so we'd like to keep that
consistent.
Closes #611 .
2021-11-15 10:46:27 +01:00
Michael Osipov
2c37a7a38e
Simplify args help
2021-10-17 12:44:14 +02:00
Hervé Boutemy
f46a9131d5
fix javadoc errors
2021-10-17 12:07:50 +02:00
Arturo Bernal
d61fcf7da1
[MNG-7288] Remove redundant local variables
...
Closes #569
2021-10-10 12:42:12 +02:00
Tamas Cservenak
c3962c1a6c
[MNG-7278] Clean up core logging ( #562 )
...
We had all kind of Loggers in Core, some Plexus
injected, some acquired using SLF4J LoggerFactory,
some static, some final, etc.
This PR aligns all those uses to SLF4J finals.
Notices:
* maven-core does NOT use Plexus Logger anymore
* did not touch maven-compat
2021-10-02 20:33:55 +02:00
Guillaume Nodet
35e5a4d71d
[MNG-5577] Use JSR 330 constructor injection
...
# Conflicts:
# maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java
2021-10-02 12:26:22 +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
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
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
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
Guillaume Nodet
3e917677e4
[MNG-7032] Evaluate --help and --version after configuring the logging/color
2021-05-06 09:54:43 +02:00
Guillaume Nodet
59c5466c40
[MNG-7080] Add a --color option to simplify color support
2021-05-06 09:54:03 +02:00
Guillaume Nodet
5d6c6e2537
[MNG-6915] Format help according to the terminal width
2021-05-05 08:34:32 +02:00
Martin Kanters
9c631ab286
Extend mvn -h for various features of Maven 4
...
Closes #463 .
2021-04-05 19:41:28 +02:00
Carlos Chacin
276c6a8dc4
[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-03-27 19:15:18 +01:00
Maarten Mulders
c3cf29438e
[MNG-6511] Optional project selection
...
Closes #446 .
2021-03-22 14:41:59 +01:00
Hervé Boutemy
441cf73c06
improve documentation
2021-02-20 19:34:43 +01:00
Guillaume Nodet
619973b91c
[MNG-7063] Infinite loop using Shade plugin and JUnit 5 dependency
...
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-02-14 15:52:04 +01:00
Maarten Mulders
8defd16965
[MNG-7051] Optionally skip non-existing profiles and break on missing required profiles.
2021-02-02 08:20:21 +01:00
Guillaume Nodet
bb916d0784
[MNG-7035] Migrate unit tests to Unit 5
...
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-01-15 15:07:06 +01:00
Sylwester Lachiewicz
b877445cb9
[MNG-6909] Convert to JSR330 in tests - maven-core
...
Closes #346
2021-01-08 03:55:24 +01:00
Michael Osipov
a6d5e86155
Use consistent static final loggers
2021-01-05 15:47:20 +01:00
Michael Osipov
2201698234
Apply consistent log argument quoting for sigle- and multi-valued args
2021-01-05 15:47:20 +01:00
Karl Heinz Marbaise
538de4d192
[MNG-6888] Remove deprecated command line options
...
This closes #418
2021-01-01 20:57:23 +01:00
Michael Osipov
31ad2ff43a
Use system line separator wherever possible
...
This closes #424
2021-01-01 12:55:01 +01:00
Michael Osipov
673a7d1fef
Trim trailing whitespace
2020-12-24 19:09:10 +01:00
Sylwester Lachiewicz
449e6dc9db
[MNG-6873] update junit dependency to 4.13.1 - also in unit tests
2020-10-27 11:08:56 +01:00
Maarten Mulders
df67c00fba
[MNG-6991] Restore how the local repository is determined
...
The refactoring of MavenCli.populateRequest introduced
a subtle bug. It would select ~/.m2/repository as the
local repository instead of something that is configured
in ~/.m2/settings.xml.
Closes #378 .
2020-09-29 20:33:25 +02:00
Maarten Mulders
ac80f5c2b9
Refactor MavenCli.populateRequest
2020-09-20 11:33:53 +02:00