Commit Graph

11378 Commits

Author SHA1 Message Date
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
liym@home 95660b5904 Fixes alignment in settings.xml 2020-06-21 11:21:31 +02:00
Michael Osipov 1cf99bc80b [MNG-6937] StringSearchModelInterpolatorTest fails on symlinked paths
Don't compare baseDir in a canonical form when the second comparing value
(System.getProperty( "user.dir" )) is not canonicalized.

This closes #361
2020-06-21 11:21:30 +02:00
Sylwester Lachiewicz 872f9416d6 Fix maven-checkstyle-plugin 3.1.1 reported error
- with maven-shared-resources v3
2020-06-21 11:21:29 +02:00
Sylwester Lachiewicz 1c12bf655d [MNG-6828] DependencyResolutionException breaks serialization 2020-06-21 11:21:28 +02:00
olivier lamy bc9e7eb687 [MNG-5868] No duplicate artifacts in attached artifacts
if attached artifacts already contains the artifact remove it and add the new one

Signed-off-by: olivier lamy <olamy@apache.org>
2020-06-21 11:21:27 +02:00
olivier lamy ff9ac46211 fix mvnDebug which was not working anymore for unix
Signed-off-by: olivier lamy <olamy@apache.org>
2020-06-21 11:21:25 +02:00
Olivier Lamy 466ac17cca Add a Jenkinsfile to run it test (per default it runs it master branch but now there is a parameter to use a different it source branch) (#355)
* add Jenkinsfile for its running with a branch of integration-testing source

Signed-off-by: olivier lamy <olamy@apache.org>
2020-06-21 11:21:24 +02:00
rfscholte 6cf17fd8fa [MNG-6919] drop wrapperUrl from maven-wrapper.properties
Ensure maven-wrapper can handle spaced paths
2020-06-21 11:21:23 +02:00
Michael Osipov 3848a47385 [MNG-6900] Upgrade Jansi to 1.18 2020-06-21 11:21:22 +02:00
James Z.M. Gao 5db4951ffb Get maven user home (~/.m2) with the same logic with maven
New maven wrapper will guess the maven user home location via system props, system envs
and at last the default location (`~/.m2`).
This guessing order is the convention of the gradle wrapper.
For maven, user home has a fixed location, i.e. `~/.m2`.
2020-06-21 11:21:21 +02:00
James Z.M. Gao 6fba7aa3c4 get MVNW_USERNAME and MVNW_PASSWORD from env
when auth for the http proxy, MVNW_{USERNAME,PASSWORD} should be fetched via `System.getenv`.
2020-06-21 11:21:20 +02:00
Sylwester Lachiewicz 14449e426a [MNG-6819] Undo unintended changes after rebase 2020-06-21 11:21:19 +02:00
Sylwester Lachiewicz de0d576b63 [MNG-6819] Fix also NPE in StringSearchModelInterpolator 2020-06-21 11:21:18 +02:00
Sylwester Lachiewicz 7b3b585df3 [MNG-6819] Refactor unit tests for ModelInterpolator 2020-06-21 11:21:16 +02:00
碎镜 2df61010c1 [MNG-6819] Fix NullPointerException in StringVisitorModelInterpolator
Closes #301
2020-06-21 11:21:15 +02:00
rfscholte ba3234e7ae [MNG-6914] Align mvn and mvnw scripts 2020-06-21 11:21:14 +02:00
rfscholte 59183ace18 [MNG-5937] Adjust JenkinsFile to pick up wrapper dists
Improve assembly
2020-06-21 11:21:13 +02:00