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
Guillaume Nodet
77312f323b
[maven-release-plugin] prepare for next development iteration
2022-10-15 01:41:39 +02:00
Guillaume Nodet
c07700ffc9
[maven-release-plugin] prepare release maven-4.0.0-alpha-2
2022-10-15 01:41:31 +02:00
Guillaume Nodet
a492c9a4ff
Fix the repackaged plexus-utils groupId ( #829 )
...
* Fix plexus gav
* Install maven instead of just building it
The plugins need to be available in the local repo, else the build may download old snapshots
2022-10-15 01:20:24 +02:00
Guillaume Nodet
66851463f6
[maven-release-plugin] prepare for next development iteration
2022-10-14 22:57:05 +02:00
Guillaume Nodet
0d973fb624
[maven-release-plugin] prepare release maven-4.0.0-alpha-1
2022-10-14 22:36:41 +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 4a06f1f5c3
.
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
Sylwester Lachiewicz
5502c0c8db
[MNG-7502] Upgrade to Guice 5.1.0
2022-09-10 21:27:25 +02:00
Karl Heinz Marbaise
cbbb9cf7e3
[MNG-7521] - Remove WARNING during build
2022-07-25 09:47:05 +02:00
Michael Osipov
2d9918a2d1
Clean up dependency warnings by dependency:analyze
...
This closes #769
2022-07-24 10:44:43 +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
Michael Osipov
efa9f0c678
[MNG-7513] Address commons-io_commons-io vulnerability found in maven latest version
...
We can safely remove Commons IO altogether because it is not used in any direct or
transitive usecase at compile time or runtime.
This closes #771
2022-07-18 17:26:54 +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
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
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
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
boris-unckel
1e575a2bd7
[MNG-7068] Active dependency management for Google Guice/Guava
...
This closes #462
2021-02-02 14:17:43 +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