From ee5274fa7e0f82f6f840346aa969f618682dfdba Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Thu, 11 Mar 2021 23:13:06 +0700 Subject: [PATCH] Set maven-assembly-plugin version 3.1.1 explicitly for each POM module Background: There are CI tests failing because the version is not taken from the parent POM, even if set in the 'pluginManagement' section. Instead, it is resolved via the Maven Super POM, e.g. 2.2-beta-5, see: https://maven.apache.org/ref/3.6.3/maven-model-builder/super-pom.html That assembly plugin version in turn requires plexus-archiver 1.0-alpha-12. The latter cannot be downloaded from Maven Central, leading to the problems seen during builds. Signed-off-by: Alexander Kriegisch --- aspectjmatcher/pom.xml | 11 ++++++++--- aspectjrt/pom.xml | 7 ++++++- aspectjtools/pom.xml | 19 +++++++++++-------- aspectjweaver/pom.xml | 11 ++++++++--- installer/pom.xml | 9 +++++++-- pom.xml | 4 ---- 6 files changed, 40 insertions(+), 21 deletions(-) diff --git a/aspectjmatcher/pom.xml b/aspectjmatcher/pom.xml index 296504a0e..ce975e743 100644 --- a/aspectjmatcher/pom.xml +++ b/aspectjmatcher/pom.xml @@ -24,12 +24,12 @@ test-jar - + none - - + + + 3.1.1 aspectjmatcher-assembly diff --git a/aspectjrt/pom.xml b/aspectjrt/pom.xml index 9f721aed5..94fc003eb 100644 --- a/aspectjrt/pom.xml +++ b/aspectjrt/pom.xml @@ -32,13 +32,18 @@ test-jar - + none maven-assembly-plugin + + 3.1.1 aspectjrt-assembly diff --git a/aspectjtools/pom.xml b/aspectjtools/pom.xml index 56453245f..292e9db41 100644 --- a/aspectjtools/pom.xml +++ b/aspectjtools/pom.xml @@ -32,12 +32,12 @@ test-jar - + none - - + + org.apache.maven.plugins maven-antrun-plugin @@ -58,7 +58,7 @@ run - + unzipjdt validate @@ -74,7 +74,7 @@ run - + unzipjdtsrc validate @@ -92,12 +92,15 @@ - + maven-assembly-plugin + + 3.1.1 - - aspectjtools-assembly package diff --git a/aspectjweaver/pom.xml b/aspectjweaver/pom.xml index 481a2a740..a8856330e 100644 --- a/aspectjweaver/pom.xml +++ b/aspectjweaver/pom.xml @@ -32,12 +32,12 @@ test-jar - + none - - + + org.apache.maven.plugins maven-antrun-plugin @@ -63,6 +63,11 @@ maven-assembly-plugin + + 3.1.1 aspectjweaver-assembly diff --git a/installer/pom.xml b/installer/pom.xml index 527be9ab5..b3cf10005 100644 --- a/installer/pom.xml +++ b/installer/pom.xml @@ -31,13 +31,18 @@ test-jar - + none - + maven-assembly-plugin + + 3.1.1 aspectjinstaller-assembly diff --git a/pom.xml b/pom.xml index da5b99a0a..16b3f2ba1 100644 --- a/pom.xml +++ b/pom.xml @@ -96,10 +96,6 @@ - - maven-clean-plugin 3.1.0 -- 2.39.5