Commit Graph

11374 Commits

Author SHA1 Message Date
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
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
Guillaume Nodet 195fb626a9 [MNG-7079] Upgrade to jansi 2.2.0 and mave-shared-utils 3.3.4 2021-05-04 13:02:49 +02:00
Michael Simacek 83e36649c0 [MNG-6294] Convert MavenPluginValidator into a JSR 330 component
Modified by: Guillaume Dufour <guillaume.duff@gmail.com>

This closes #134 and closes #470
2021-05-03 08:09:58 +02:00
Guillaume Dufour 9ba84aabe2 [MNG-7149] Introduce MAVEN_DEBUG_ADDRESS in mvnDebug scripts
mvnDebug socket now binds by default on localhost:8000. set MAVEN_DEBUG_ADDRESS
environment variable to choose another address (host:port).

This closes #469
2021-05-02 18:01:59 +02:00
Guillaume Dufour 32cdc2ec3c [MNG-7090] mvnDebug does not work on Java 11+
Submitted by: Guillaume Dufour

mvnDebug socket binds on 0.0.0.0
2021-04-25 18:40:15 +02:00
Michael Osipov 1a65351b43 Revert "[MNG-6772] Prevent Super POM central entry from overriding"
This reverts commit 2a23d7bf16.
2021-04-22 18:45:57 +02:00
Maarten Mulders f4009a1c0a
Run GitHub actions integration tests with Java 17-ea (#466) 2021-04-18 20:17:30 +02:00
rfscholte d6e70e297a [MNG-6917] Update maven-wrapper-plugin to 3.0.2 2021-04-08 19:41:43 +02:00
Hervé Boutemy b08e4d277e [MNG-6917] add wrapper lifecycle to reference documentation 2021-04-05 19:48:39 +02:00
Martin Kanters 9c631ab286 Extend mvn -h for various features of Maven 4
Closes #463.
2021-04-05 19:41:28 +02:00
Hervé Boutemy 57b006fe34 [MNG-7035] add menu 2021-04-05 18:46:40 +02:00
Hervé Boutemy 1524af82f5 [MNG-5937] init site for Maven Wrapper reference documentation 2021-04-05 18:44:35 +02:00
Hervé Boutemy 53dead3e9b [MNG-7136] add forgotten maven-slf4j-wrapper 2021-04-05 11:49:09 +02:00
Hervé Boutemy da34c1e869 [MNG-7136] crop image to fit content 2021-04-05 11:40:40 +02:00
Hervé Boutemy a88d3f0b3f [MNG-7136] update Maven 4 dependencies schema 2021-04-05 11:26:08 +02:00
Hervé Boutemy c4df060c26 fix javadoc 2021-04-05 10:11:39 +02:00
Hervé Boutemy 2e51e10b6d update staging site to https://maven.apache.org/ref/4-LATEST 2021-04-05 09:21:45 +02:00
Hervé Boutemy 86b96bf016 fix SCM url 2021-04-04 23:33:07 +02:00
Hervé Boutemy b79d708e6e [MNG-6806] improve documentation 2021-04-04 23:31:31 +02:00
Maarten Mulders 521c4c2588
Run GitHub actions integration tests with Java 16 (#456) 2021-04-04 21:33:14 +02:00
Hervé Boutemy 9decf532e7 [MNG-6806] configure site for BOM reference documentation 2021-04-04 21:00:14 +02:00
Hervé Boutemy 1b6caed1ea [MNG-6656] rename build+consumer filters to buildToRaw+rawToConsumer 2021-04-04 19:49:51 +02:00
Hervé Boutemy e25cf17d3b [MNG-6656] move to o.a.m.model.transform + .sax 2021-04-04 19:39:05 +02:00
Hervé Boutemy aa6b88c78f Maven 3.8.1 released 2021-04-04 17:50:20 +02:00
Hervé Boutemy 22954a04ff [MNG-6656] rename maven-xml module to maven-model-transform 2021-04-04 13:24:41 +02:00
Hervé Boutemy 87cd4960a4 [MNG-6656] add reference documentation on build/consumer transformers 2021-04-04 09:27:59 +02:00
Hervé Boutemy 46129561fb [MNG-6806] use ${project.version} to avoid rewriting on release 2021-04-03 18:44:18 +02:00
Hervé Boutemy b6461a5f5b [MNG-6806] fix typo 2021-04-03 18:39:56 +02:00
Martin Kanters 7c742c298b [MNG-7112] Do not select child modules when --non-recursive is given.
Closes #459
2021-04-02 16:11:49 +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
Martin Kanters c4cd93d55f [MNG-7102] Exclude all children of aggregators, even if the aggregator was already removed from the reactor. 2021-03-27 17:38:05 +01:00
Hervé Boutemy 1ab29f5485 [MNG-7128] keep blocked attribute from mirrors in artifact repositories 2021-03-27 03:00:25 +01:00
Maarten Mulders c3cf29438e [MNG-6511] Optional project selection
Closes #446.
2021-03-22 14:41:59 +01:00
Martin Kanters a02834611b [MNG-7102] The child modules of excluded projects are now excluded as well, making the behavior consistent with MNG-6981. 2021-03-22 13:16:42 +01:00
rfscholte 3e656376e8 [MNG-6808] Provide Maven BOM 2021-03-21 17:40:31 +01:00
Michael Osipov 1e19805097 [MNG-6075] Increase the model validation level to the next minor level version
This closes #455
2021-03-20 15:09:33 +01:00
Hervé Boutemy 67125676ee [MNG-7118] block HTTP repositories by default 2021-03-19 20:36:07 +01:00
Hervé Boutemy 28b4ea92d3 [MNG-7117] add support for blocked mirror 2021-03-19 20:36:00 +01:00
Hervé Boutemy 3b21386c3f [MNG-7116] add support for mirrorOf external:http:* 2021-03-19 20:35:50 +01:00
Hervé Boutemy acd61cc708 use Maven Resolver 1.6.2 2021-03-19 20:35:40 +01:00
Hervé Boutemy 612dfddd26 [MNG-3220] fix doc: dependencyManagement import require scope import 2021-03-16 22:27:15 +01:00
Michael Osipov d87a1f5325 [MNG-7119] Upgrade Maven Wagon to 3.4.3 2021-03-16 18:22:04 +01:00
Hervé Boutemy d5f77a3f17 [MNG-6399] - Lift JDK minimum to JDK 8 2021-03-13 21:21:20 +01:00
Michael Osipov a5c68f7a4a Revert "[MNG-7046] Revert MNG-5639 and make repo config static only"
This reverts commit 8c9c303f9c.
2021-03-13 17:09:40 +01:00
Guillaume Nodet 9e19b57c72 [MNG-7111] Deadlock when reading pom
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-03-13 11:58:02 +01:00
rfscholte aa90370ff4 [MNG-7110] Different behavior of extensions
restore configuration of importRequest
2021-03-12 18:24:13 +01:00