Commit Graph

11456 Commits

Author SHA1 Message Date
Michael Osipov 658b7a9362 [MNG-6552] Packaging 'rar' binding plugin upgrades
* Upgrade to Maven Resources Plugin 3.2.0
* Upgrade to Maven Compiler Plugin 3.8.1
* Upgrade to Maven Surefire Plugin 3.0.0-M5
* Upgrade to Maven RAR Plugin 2.4
* Upgrade to Maven Install Plugin 3.0.0-M1
* Upgrade to Maven Deploy Plugin 3.0.0-M1
2020-11-10 11:31:36 +01:00
Michael Osipov 6d75136fa5 [MNG-6552] Packaging 'ejb' binding plugin upgrades
* Upgrade to Maven Resources Plugin 3.2.0
* Upgrade to Maven Compiler Plugin 3.8.1
* Upgrade to Maven Surefire Plugin 3.0.0-M5
* Upgrade to Maven EJB Plugin 3.1.0
* Upgrade to Maven Install Plugin 3.0.0-M1
* Upgrade to Maven Deploy Plugin 3.0.0-M1
2020-11-10 11:07:26 +01:00
Michael Osipov 230773a35d [MNG-6554] Packaging 'ear' binding plugin upgrades
* Upgrade to Maven EAR Plugin 3.1.2
* Upgrade to Maven Resources Plugin 3.2.0
* Upgrade to Maven Install Plugin 3.0.0-M1
* Upgrade to Maven Deploy Plugin 3.0.0-M1
2020-11-10 10:55:16 +01:00
Michael Osipov 7a4b77b582 [MNG-6548] Lifecycle plugin version upgrades
* Upgrade to Maven Clean Plugin 3.1.0
* Upgrade to Maven Site Plugin 3.9.1
2020-11-08 16:18:41 +01:00
rfscholte a89a3d315d [MNG-6999] prevent potential race condition 2020-11-08 15:16:53 +01:00
Maarten Mulders ba7a0376b1 Refactor ProjectsCollector.collectProjects
This method now returns it result instead of modifying one of its arguments.
Closes #388.
2020-11-08 09:43:19 +01:00
rfscholte e7eef9d34f [MNG-6999] Chained (consumer) XMLFilters can result in "floating" comments 2020-10-30 12:39:23 +01:00
rfscholte 24697184cc Merge branch 'master' of https://gitbox.apache.org/repos/asf/maven 2020-10-27 20:09:23 +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
gmakris 3a51a3ac5c [MNG-6873] update junit dependency to 4.13.1
Closes #390
2020-10-27 10:54:51 +01:00
Martin Kanters d98844cfdf [MNG-7004] Replacing set-env in the GitHub Actions workflow with the new way to set environment variables, since set-env is deprecated. 2020-10-23 17:14:14 +02:00
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