Commit Graph

11345 Commits

Author SHA1 Message Date
Martin Kanters 6034102535
Merge pull request #387 from infosupport/MNG-7002-include-unit-test-for-pl-including-children
[MNG-7002] Added a test scenario for including child modules when using the --pl switch.
2020-10-23 15:33:07 +02:00
Martin Kanters afd17a3979 [MNG-7002] Added a test scenario for including child modules when using the --pl switch. 2020-10-23 10:41:31 +02:00
rfscholte 8913502589 Merge branch 'master' of https://gitbox.apache.org/repos/asf/maven 2020-10-21 21:25:41 +02:00
Martin Kanters 42af8ba5a2 [MNG-6981] Include the child projects (modules) of the selected projects with --pl in the reactor.
This closes #374.
2020-10-19 20:14:10 +02:00
Michael Osipov 87670ddc08 [MNG-6931] Deprecate custom logging approach
This closes #385
2020-10-18 22:44:29 +02:00
Maarten Mulders a5b292ddf8 [MNG-6118] Make Maven aware of all projects in a multi module project when using -f or when changing directory to a submodule.
This closes #373
2020-10-18 20:34:51 +02:00
Michael Osipov 8393b9e0d9 [MNG-7000] metadata.mdo contains invalid link to schema 2020-10-17 17:40:06 +02:00
rfscholte 789d75fc68 Merge branch 'master' of https://gitbox.apache.org/repos/asf/maven 2020-10-16 20:34:10 +02:00
Michael Osipov 7c7de41562 [MNG-6996] Upgrade Maven Resolver to 1.6.1 2020-10-09 19:29:35 +02:00
Sylwester Lachiewicz c61e63032f [MNG-6965] Extensions suddenly have org.codehaus.plexus:plexus-utils:jar:1.1 on their classpath
This closes #367
2020-10-05 09:06:46 +02:00
Slawomir Jaranowski ecfff2626c [MNG-6993] Upgrade SLF4J to 1.7.30
This closes #380
2020-10-04 21:56:26 +02:00
Slawomir Jaranowski d5a5bc553a [MNG-6992] Allow access to org.eclipse.aether.transform
This closes #379
2020-10-04 21:45:53 +02:00
pazderski 39641ac803 [MNG-6983] Plugin key can get out of sync with artifactId and groupId
The plugin key is build as combination of artifactId and groupId but not
updated if either of these two ids change.
This can be a problem if artifactId or groupId is a variable. The calculated
key will likely contain the unresolved property and is not updated once the
variable is interpolated.

This closes #372
2020-10-03 12:51:51 +02: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
Martin Kanters 0e3c7a433f [MNG-6949] Get the correct PR origin user and branch name from the GitHub Actions context, in order to run the matching integration tests repo and branch.
Closes #377
2020-09-23 13:06:56 +02:00
Maarten Mulders 2c3949cf1a Run Github CI builds with Java 8, 11, 15 and 16-ea
Closes #376
2020-09-20 19:50:56 +02:00
Maarten Mulders ac80f5c2b9 Refactor MavenCli.populateRequest 2020-09-20 11:33:53 +02:00
Sylwester Lachiewicz 5fbe40a336 Bump ant from 1.10.4 to 1.10.8 in /maven-wrapper 2020-09-15 12:00:29 +02:00
Marc Bruggmann 8b7f6f0c9d [MNG-6987] Reorder groupId before artifactId when writing an exclusion using maven-model
In most other places, we order the groupId before the artefactId.
Exclusion was the odd one out, so I changed it to be in line with
the others.

This closes #375
2020-09-11 08:32:16 +02:00
Eddie Wiegers 2a23d7bf16 [MNG-6772] Prevent Super POM central entry from overriding
Closes #289
2020-09-01 08:31:58 +02:00
Hervé Boutemy e26f2f08d1 update ASF CI url 2020-08-29 13:54:49 +02:00
Hervé Boutemy dd54c1e952 update ASF CI url 2020-08-28 11:47:10 +02:00
PoojaChandak fe26a18663 Update README
Closes #370
2020-08-25 13:56:57 +02:00
Olivier Lamy 001310a76b
disable publishers 2020-08-17 20:10:12 +10:00
Michael Osipov 9120d86573 [MNG-6977] Use hyphen when creating builder threads (names) 2020-08-17 11:43:20 +02:00
Olivier Lamy 9864cdbadc
only 8 and 11 2020-08-17 17:59:05 +10:00
Olivier Lamy 4de92e4ed1
add 15-ea build 2020-08-17 17:57:59 +10:00
rfscholte f2116001b9 Merge branch 'master' of https://gitbox.apache.org/repos/asf/maven 2020-08-08 11:25:29 +02:00
Sylwester Lachiewicz 4927b1d02e Use Maven 3.6.3 for builds 2020-08-05 23:15:06 +02:00
mickroll 6087444430 [MNG-6972] Allow access to org.apache.maven.graph
This is, for example, needed for rebuilding the dependency graph during build
extension execution after changing dependencies.

This closes #368
2020-08-04 14:04:51 +02:00
Martin Kanters 5739b12aa9 Resume from generates misleading hint when multiple projects fail.
Log the topologically sorted first failed project instead of the chronologically first failed project.
Resume from generates misleading hint when multiple projects fail.
Fixed a checkstyle finding.
Removed a trailing space in the -r hint
2020-07-24 10:07:25 +02:00
Dennis Lundberg 4f193b3fc2 [MNG-6964] Maven version sorting is internally inconsistent. 2020-07-22 11:24:26 +02:00
Dennis Lundberg 51c0399030 [MNG-6967] Improve the command line output from maven-artifact. 2020-07-22 11:01:35 +02:00
Maarten Mulders 117cfde44e [MNG-5760] Several fixes for the --resume feature.
BuildResumptionDataRepository is not used in MavenCli

Make setResume() on MavenExecutionRequest a traditional setter

Fix resolution of resume.properties file

Add unit test for DefaultBuildResumptionDataRepository#applyResumptionData

Avoid storing and using an empty excludedProjects field in the resume.properties file.

Avoid star imports

Don't create a unneeded Path when resolving resume.properties

Support the scenario where the first project was failed, but subsequent projects succeeded. (e.g. by fail-at-end or parallel builds)

Maven invocations without project shouldn't fail
2020-07-15 08:58:45 +02:00
rfscholte 2e66809e0e [MNG-6952] Fail early if pom cannot be transformed 2020-07-04 23:27:12 +02:00
Maarten Mulders 3b442badfc [MNG-6949] Run integration tests on large matrix, build on small one.
Integration tests now run on Java 8, 11 and 14 with Windows, macOS and Linux.
2020-07-01 12:06:54 +02:00
Martin Kanters c9d1788f76 [MNG-6949] Add a GitHub Actions Workflow for building and integration testing changes 2020-07-01 12:06:54 +02:00
rfscholte 65ec04c236 [MNG-6948] Repository files should not pass build-filters 2020-06-29 20:35:31 +02:00
rfscholte 76427d2320 [MNG-6946] Build/consumer incorrectly transforms name of artifactId 2020-06-26 12:58:50 +02:00
rfscholte a945ca4ed3 [MNG-6944] Fix ordering lifecycles 2020-06-23 19:37:29 +02:00
rfscholte bdec668de9 [MNG-6656] Introduce base for build/consumer pom 2020-06-22 21:24:49 +02:00
rfscholte 881274914a [MNG-6917] Introduce wrapper lifecycle 2020-06-22 20:26:56 +02:00
rfscholte b373bb06e8 Merge branch 'MNG-6878' 2020-06-21 12:21:20 +02:00
rfscholte 7b939937f5 [MNG-6863] Support --also-make flag in combination with --resume-from.
Author: Martin Kanters <Martin.Kanters@infosupport.com>
2020-06-21 11:21:39 +02:00
rfscholte 0925462311 [MNG-6891] delete useless codes
Author: 2997ms <wangchong756@gmail.com>
2020-06-21 11:21:38 +02:00
rfscholte 101caea3c3 [MNG-6942] Arbitrary file write during archive extraction ("Zip Slip") in wrapper 2020-06-21 11:21:37 +02:00
rfscholte d35573e06c [MNG-5760] Add `-r/--resume` to automatically resume from the last failure point
Author: Martin Kanters <mkanters93@gmail.com>
2020-06-21 11:21:36 +02:00
rfscholte 628a5756d3 [MNG-6562] WARN if plugins injected by default lifecycle bindings don't have their version locked in pom.xml or parent 2020-06-21 11:21:34 +02:00
rfscholte 958380685d Revert "[MNG-6562] added WARNING on default bindings plugins unlocked versions"
This reverts commit d9bf929c74.
2020-06-21 11:21:33 +02:00
Benjamin Marwell c4ad91e6b9 Do not create empty file on error 2020-06-21 11:21:32 +02:00