This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 7edce17 Update to parent POM v 47 (#781)
7edce17 is described below
commit 7edce171e15fccee898a69d264bdfdbe21229952
Author: Matthias Bünger <[email protected]>
AuthorDate: Thu Feb 26 14:33:17 2026 +0100
Update to parent POM v 47 (#781)
Updates parent POM and dependencies, and fixes ITs to not use ancient
plugins and Java versions.
---------
Co-authored-by: Tamas Cservenak <[email protected]>
---
.github/workflows/maven-verify.yml | 2 --
pom.xml | 9 ++++-----
src/it/projects/MSHADE-183/pom.xml | 10 +++++-----
.../projects/MSHADE-313_minimized-services/test/pom.xml | 4 ++--
src/it/projects/MSHADE-316/test/pom.xml | 4 ++--
.../MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml | 2 +-
src/it/projects/MSHADE-373/pom.xml | 10 +++++-----
src/it/projects/MSHADE-373/verify.bsh | 14 ++++----------
src/it/projects/MSHADE-462/pom.xml | 2 +-
src/it/projects/attach-after-lifecycle-fork/pom.xml | 12 ++++++------
src/it/projects/attached-artifact-type/pom.xml | 14 +++++++-------
src/it/projects/component-descriptor-relocation/pom.xml | 13 ++++---------
src/it/projects/dep-reduced-pom-relocated-result/pom.xml | 10 +++++-----
src/it/projects/dep-reduced-pom-unique/pom.xml | 2 +-
.../projects/dep-reduced-pom-with-local-parent/pom.xml | 10 +++++-----
src/it/projects/duplicate-classes-with-reloc/app/pom.xml | 8 ++++----
.../projects/duplicate-classes-without-reloc/app/pom.xml | 8 ++++----
src/it/projects/manifest-retained/pom.xml | 10 +++++-----
src/it/projects/manifest-transformed/pom.xml | 14 +++++++-------
src/it/projects/mini-jar-jdk11+/pom.xml | 4 ++--
src/it/projects/mini-jar-package-info/pom.xml | 9 ++-------
src/it/projects/mini-jar-respect-includes/pom.xml | 2 +-
src/it/projects/mini-jar/pom.xml | 7 +------
src/it/projects/mshade-123/pom.xml | 10 +++++-----
src/it/projects/plugin-descriptor-relocation/app/pom.xml | 4 ++--
src/it/projects/project-with-reactors-included/pom.xml | 2 --
src/it/projects/reloc-anno/pom.xml | 13 ++++---------
src/it/projects/reloc-class-from-string-pool/pom.xml | 8 ++++----
src/it/projects/reloc-enum-ref-from-anno/pom.xml | 13 ++++---------
src/it/projects/rerun-with-reloc/pom.xml | 14 +++++++-------
src/it/projects/rerun-without-reloc/pom.xml | 16 ++++++++--------
src/it/projects/setup-parent/pom.xml | 4 ----
src/it/projects/shadePomDependency/pomDependency/pom.xml | 4 ++--
src/it/projects/shading-with-release-sources/pom.xml | 2 +-
src/it/projects/users-shader-impl/pom.xml | 5 -----
35 files changed, 115 insertions(+), 160 deletions(-)
diff --git a/.github/workflows/maven-verify.yml
b/.github/workflows/maven-verify.yml
index 243410d..8d82437 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -24,6 +24,4 @@ jobs:
build:
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4
- with:
- matrix-exclude: '[ {"jdk": "25"} ]'
diff --git a/pom.xml b/pom.xml
index c15f6d1..a04591e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugins</artifactId>
- <version>45</version>
+ <version>47</version>
<relativePath />
</parent>
@@ -79,7 +79,7 @@
</distributionManagement>
<properties>
- <mavenVersion>3.9.7</mavenVersion>
+ <mavenVersion>3.9.12</mavenVersion>
<javaVersion>8</javaVersion>
<currentVersion>${project.version}</currentVersion>
<asmVersion>9.9.1</asmVersion>
@@ -165,12 +165,12 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
- <version>2.16.1</version>
+ <version>2.21.0</version>
</dependency>
<dependency>
<groupId>org.vafer</groupId>
<artifactId>jdependency</artifactId>
- <version>2.10</version>
+ <version>2.15</version>
</dependency>
<!-- Test -->
@@ -303,7 +303,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>3.9.1</version>
<configuration>
<goals>
<goal>package</goal>
diff --git a/src/it/projects/MSHADE-183/pom.xml
b/src/it/projects/MSHADE-183/pom.xml
index 80e6b00..6764f9a 100644
--- a/src/it/projects/MSHADE-183/pom.xml
+++ b/src/it/projects/MSHADE-183/pom.xml
@@ -46,17 +46,17 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-jar-plugin@</version>
<configuration>
<archive>
<manifest>
@@ -72,7 +72,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -103,7 +103,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/MSHADE-313_minimized-services/test/pom.xml
b/src/it/projects/MSHADE-313_minimized-services/test/pom.xml
index cb51ef6..3ac07e8 100644
--- a/src/it/projects/MSHADE-313_minimized-services/test/pom.xml
+++ b/src/it/projects/MSHADE-313_minimized-services/test/pom.xml
@@ -44,8 +44,8 @@ under the License.
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/it/projects/MSHADE-316/test/pom.xml
b/src/it/projects/MSHADE-316/test/pom.xml
index 24fc875..33bc12e 100644
--- a/src/it/projects/MSHADE-316/test/pom.xml
+++ b/src/it/projects/MSHADE-316/test/pom.xml
@@ -39,8 +39,8 @@ under the License.
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml
b/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml
index b106258..c2b13c3 100644
--- a/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml
+++ b/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/pom.xml
@@ -57,7 +57,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/it/projects/MSHADE-373/pom.xml
b/src/it/projects/MSHADE-373/pom.xml
index 19a1e17..269c33c 100644
--- a/src/it/projects/MSHADE-373/pom.xml
+++ b/src/it/projects/MSHADE-373/pom.xml
@@ -46,17 +46,17 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-jar-plugin@</version>
<configuration>
<archive>
<manifest>
@@ -72,7 +72,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -110,7 +110,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/MSHADE-373/verify.bsh
b/src/it/projects/MSHADE-373/verify.bsh
index cc23df3..7b2dd88 100644
--- a/src/it/projects/MSHADE-373/verify.bsh
+++ b/src/it/projects/MSHADE-373/verify.bsh
@@ -32,7 +32,7 @@ Manifest extractManifest(name) {
return mf;
}
-void assertsEntries( name, expectedTestEntry, expectedOriginalEntry,
expectedCustomEntry, shouldHaveArchiverVersion ) {
+void assertsEntries( name, expectedTestEntry, expectedOriginalEntry,
expectedCustomEntry ) {
attributes = extractManifest( name ).getMainAttributes();
if ( !Objects.equals( expectedTestEntry, attributes.getValue( "Test-Entry"
) ) )
@@ -49,14 +49,8 @@ void assertsEntries( name, expectedTestEntry,
expectedOriginalEntry, expectedCus
{
throw new IllegalStateException( "Custom-Entry should have been '" +
expectedCustomEntry + "' in " + name + ": " + attributes.entrySet() );
}
-
- if ( shouldHaveArchiverVersion && attributes.getValue( "Archiver-Version"
) == null ||
- !shouldHaveArchiverVersion && attributes.getValue( "Archiver-Version"
) != null )
- {
- throw new IllegalStateException( "META-INF/MANIFEST.mf
Archiver-Version entry is invalid in " + name + ": " + attributes.entrySet() );
- }
}
-assertsEntries( "test-1.0.jar", "PASSED", "PASSED", "SET", true );
-assertsEntries( "test-1.0-sources.jar", "FAILED", null, null, false ); //
specific config
-assertsEntries( "test-1.0-tests.jar", "PASSED", "PASSED", "SET", true ); //
inherits from the default transformer
+assertsEntries( "test-1.0.jar", "PASSED", "PASSED", "SET" );
+assertsEntries( "test-1.0-sources.jar", "FAILED", null, null ); // specific
config
+assertsEntries( "test-1.0-tests.jar", "PASSED", "PASSED", "SET" ); // inherits
from the default transformer
diff --git a/src/it/projects/MSHADE-462/pom.xml
b/src/it/projects/MSHADE-462/pom.xml
index f4b9689..17dc6e9 100644
--- a/src/it/projects/MSHADE-462/pom.xml
+++ b/src/it/projects/MSHADE-462/pom.xml
@@ -54,7 +54,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.12.1</version>
+ <version>@version.maven-compiler-plugin@</version>
<configuration>
<compilerArgs>
<compilerArg>-proc:none</compilerArg>
diff --git a/src/it/projects/attach-after-lifecycle-fork/pom.xml
b/src/it/projects/attach-after-lifecycle-fork/pom.xml
index 85df376..19e6688 100644
--- a/src/it/projects/attach-after-lifecycle-fork/pom.xml
+++ b/src/it/projects/attach-after-lifecycle-fork/pom.xml
@@ -37,22 +37,22 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -92,7 +92,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/attached-artifact-type/pom.xml
b/src/it/projects/attached-artifact-type/pom.xml
index f250bf9..fd3da91 100644
--- a/src/it/projects/attached-artifact-type/pom.xml
+++ b/src/it/projects/attached-artifact-type/pom.xml
@@ -46,13 +46,13 @@ under the License.
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -66,8 +66,8 @@ under the License.
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -76,8 +76,8 @@ under the License.
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/projects/component-descriptor-relocation/pom.xml
b/src/it/projects/component-descriptor-relocation/pom.xml
index 4fadbd4..ed2134f 100644
--- a/src/it/projects/component-descriptor-relocation/pom.xml
+++ b/src/it/projects/component-descriptor-relocation/pom.xml
@@ -38,33 +38,28 @@ under the License.
<description>
Test that Plexus component descriptors get adjusted to account for
relocation of role/impl classes.
</description>
-
- <properties>
- <maven.compiler.source>1.4</maven.compiler.source>
- <maven.compiler.target>1.4</maven.compiler.target>
- </properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/dep-reduced-pom-relocated-result/pom.xml
b/src/it/projects/dep-reduced-pom-relocated-result/pom.xml
index 8dbaf1f..6475ace 100644
--- a/src/it/projects/dep-reduced-pom-relocated-result/pom.xml
+++ b/src/it/projects/dep-reduced-pom-relocated-result/pom.xml
@@ -44,22 +44,22 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -69,7 +69,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/projects/dep-reduced-pom-unique/pom.xml
b/src/it/projects/dep-reduced-pom-unique/pom.xml
index f4d883d..8354e1f 100644
--- a/src/it/projects/dep-reduced-pom-unique/pom.xml
+++ b/src/it/projects/dep-reduced-pom-unique/pom.xml
@@ -71,7 +71,7 @@ under the License.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
- <version>1.0-alpha-2</version>
+ <version>1.3.0</version>
<executions>
<execution>
<goals>
diff --git a/src/it/projects/dep-reduced-pom-with-local-parent/pom.xml
b/src/it/projects/dep-reduced-pom-with-local-parent/pom.xml
index 8dbaf1f..6475ace 100644
--- a/src/it/projects/dep-reduced-pom-with-local-parent/pom.xml
+++ b/src/it/projects/dep-reduced-pom-with-local-parent/pom.xml
@@ -44,22 +44,22 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -69,7 +69,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/projects/duplicate-classes-with-reloc/app/pom.xml
b/src/it/projects/duplicate-classes-with-reloc/app/pom.xml
index d1e7490..3177522 100644
--- a/src/it/projects/duplicate-classes-with-reloc/app/pom.xml
+++ b/src/it/projects/duplicate-classes-with-reloc/app/pom.xml
@@ -53,17 +53,17 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -92,7 +92,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/duplicate-classes-without-reloc/app/pom.xml
b/src/it/projects/duplicate-classes-without-reloc/app/pom.xml
index 93d54d6..d30b4e4 100644
--- a/src/it/projects/duplicate-classes-without-reloc/app/pom.xml
+++ b/src/it/projects/duplicate-classes-without-reloc/app/pom.xml
@@ -48,17 +48,17 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -80,7 +80,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/manifest-retained/pom.xml
b/src/it/projects/manifest-retained/pom.xml
index a60e415..61de996 100644
--- a/src/it/projects/manifest-retained/pom.xml
+++ b/src/it/projects/manifest-retained/pom.xml
@@ -46,17 +46,17 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-jar-plugin@</version>
<configuration>
<archive>
<manifest>
@@ -71,7 +71,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -94,7 +94,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/manifest-transformed/pom.xml
b/src/it/projects/manifest-transformed/pom.xml
index 816abd3c..f209eab 100644
--- a/src/it/projects/manifest-transformed/pom.xml
+++ b/src/it/projects/manifest-transformed/pom.xml
@@ -46,17 +46,17 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>@version.maven-jar-plugin@</version>
<configuration>
<archive>
<manifest>
@@ -72,7 +72,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -102,7 +102,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/mini-jar-jdk11+/pom.xml
b/src/it/projects/mini-jar-jdk11+/pom.xml
index 70d536d..f664122 100644
--- a/src/it/projects/mini-jar-jdk11+/pom.xml
+++ b/src/it/projects/mini-jar-jdk11+/pom.xml
@@ -51,7 +51,7 @@ under the License.
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.14.1</version>
+ <version>@version.maven-compiler-plugin@</version>
<configuration>
<release>${java.specification.version}</release>
</configuration>
@@ -77,7 +77,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>3.9.1</version>
+ <version>@version.maven-invoker-plugin@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/mini-jar-package-info/pom.xml
b/src/it/projects/mini-jar-package-info/pom.xml
index 8d9458f..a9c5a41 100644
--- a/src/it/projects/mini-jar-package-info/pom.xml
+++ b/src/it/projects/mini-jar-package-info/pom.xml
@@ -33,12 +33,7 @@ under the License.
<packaging>pom</packaging>
<name>mini-jar-with-package-info</name>
<description>Test for minimizeJar keeping package-info
around.</description>
-
- <properties>
- <maven.compiler.source>1.5</maven.compiler.source>
- <maven.compiler.target>1.5</maven.compiler.target>
- </properties>
-
+
<modules>
<module>jar-with-package-info</module>
<module>test</module>
@@ -49,7 +44,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/it/projects/mini-jar-respect-includes/pom.xml
b/src/it/projects/mini-jar-respect-includes/pom.xml
index 081502d..78343bc 100644
--- a/src/it/projects/mini-jar-respect-includes/pom.xml
+++ b/src/it/projects/mini-jar-respect-includes/pom.xml
@@ -57,7 +57,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/it/projects/mini-jar/pom.xml b/src/it/projects/mini-jar/pom.xml
index cef3db6..b6e0612 100644
--- a/src/it/projects/mini-jar/pom.xml
+++ b/src/it/projects/mini-jar/pom.xml
@@ -40,11 +40,6 @@ under the License.
contains the referenced classes.
</description>
- <properties>
- <maven.compiler.source>1.4</maven.compiler.source>
- <maven.compiler.target>1.4</maven.compiler.target>
- </properties>
-
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -58,7 +53,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/it/projects/mshade-123/pom.xml
b/src/it/projects/mshade-123/pom.xml
index fca019c..232052f 100644
--- a/src/it/projects/mshade-123/pom.xml
+++ b/src/it/projects/mshade-123/pom.xml
@@ -50,11 +50,11 @@ under the License.
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@version.maven-compiler-plugin@</version>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
+ <source>1.8</source>
+ <target>1.8</target>
</configuration>
</plugin>
<plugin>
@@ -99,7 +99,7 @@ under the License.
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.3</version>
+ <version>@version.maven-assembly-plugin@</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${project.build.directory}/releases/</outputDirectory>
diff --git a/src/it/projects/plugin-descriptor-relocation/app/pom.xml
b/src/it/projects/plugin-descriptor-relocation/app/pom.xml
index 8694386..91da170 100644
--- a/src/it/projects/plugin-descriptor-relocation/app/pom.xml
+++ b/src/it/projects/plugin-descriptor-relocation/app/pom.xml
@@ -50,8 +50,8 @@ under the License.
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/it/projects/project-with-reactors-included/pom.xml
b/src/it/projects/project-with-reactors-included/pom.xml
index 29f00fb..a36a528 100644
--- a/src/it/projects/project-with-reactors-included/pom.xml
+++ b/src/it/projects/project-with-reactors-included/pom.xml
@@ -34,8 +34,6 @@ under the License.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.5</maven.compiler.source>
- <maven.compiler.target>1.5</maven.compiler.target>
</properties>
<name>MSHADE-75</name>
diff --git a/src/it/projects/reloc-anno/pom.xml
b/src/it/projects/reloc-anno/pom.xml
index 50d73f8..d776517 100644
--- a/src/it/projects/reloc-anno/pom.xml
+++ b/src/it/projects/reloc-anno/pom.xml
@@ -39,27 +39,22 @@ under the License.
Test that annotations are properly relocated.
</description>
- <properties>
- <maven.compiler.source>1.5</maven.compiler.source>
- <maven.compiler.target>1.5</maven.compiler.target>
- </properties>
-
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -109,7 +104,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/reloc-class-from-string-pool/pom.xml
b/src/it/projects/reloc-class-from-string-pool/pom.xml
index 0338bdd..3e460e4 100644
--- a/src/it/projects/reloc-class-from-string-pool/pom.xml
+++ b/src/it/projects/reloc-class-from-string-pool/pom.xml
@@ -37,17 +37,17 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -97,7 +97,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/reloc-enum-ref-from-anno/pom.xml
b/src/it/projects/reloc-enum-ref-from-anno/pom.xml
index 330ef66..b6910c6 100644
--- a/src/it/projects/reloc-enum-ref-from-anno/pom.xml
+++ b/src/it/projects/reloc-enum-ref-from-anno/pom.xml
@@ -39,27 +39,22 @@ under the License.
Test that enum references in annotations are properly relocated.
</description>
- <properties>
- <maven.compiler.source>1.5</maven.compiler.source>
- <maven.compiler.target>1.5</maven.compiler.target>
- </properties>
-
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -109,7 +104,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/rerun-with-reloc/pom.xml
b/src/it/projects/rerun-with-reloc/pom.xml
index f8197ad..a09fc10 100644
--- a/src/it/projects/rerun-with-reloc/pom.xml
+++ b/src/it/projects/rerun-with-reloc/pom.xml
@@ -40,7 +40,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
</dependency>
</dependencies>
@@ -49,20 +49,20 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
<configuration>
<staleMillis>5000</staleMillis>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
<configuration>
<archive>
<!-- NOTE: This test requires MJAR-7 which in turn requires this
config to actually work. -->
@@ -73,7 +73,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -102,7 +102,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/rerun-without-reloc/pom.xml
b/src/it/projects/rerun-without-reloc/pom.xml
index 1718a87..c221766 100644
--- a/src/it/projects/rerun-without-reloc/pom.xml
+++ b/src/it/projects/rerun-without-reloc/pom.xml
@@ -39,8 +39,8 @@ under the License.
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@version.maven-compiler-plugin@</version>
</dependency>
</dependencies>
@@ -49,20 +49,20 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>@version.maven-compiler-plugin@</version>
<configuration>
<staleMillis>5000</staleMillis>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>@version.maven-jar-plugin@</version>
<configuration>
<archive>
<!-- NOTE: This test requires MJAR-7 which in turn requires this
config to actually work. -->
@@ -73,7 +73,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
+ <version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -96,7 +96,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.3.1</version>
+ <version>@version.maven-surefire@</version>
</plugin>
</plugins>
</build>
diff --git a/src/it/projects/setup-parent/pom.xml
b/src/it/projects/setup-parent/pom.xml
index 002a8af..0cb82c7 100644
--- a/src/it/projects/setup-parent/pom.xml
+++ b/src/it/projects/setup-parent/pom.xml
@@ -33,10 +33,6 @@ under the License.
<activation>
<jdk>9</jdk>
</activation>
- <properties>
- <maven.compiler.source>1.6</maven.compiler.source>
- <maven.compiler.target>1.6</maven.compiler.target>
- </properties>
</profile>
</profiles>
diff --git a/src/it/projects/shadePomDependency/pomDependency/pom.xml
b/src/it/projects/shadePomDependency/pomDependency/pom.xml
index 68902a1..c779e67 100644
--- a/src/it/projects/shadePomDependency/pomDependency/pom.xml
+++ b/src/it/projects/shadePomDependency/pomDependency/pom.xml
@@ -39,8 +39,8 @@ under the License.
<!-- NOTE: The test requires a dependency to include during shading,
doesn't matter what classes though -->
<dependency>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@version.maven-compiler-plugin@</version>
</dependency>
</dependencies>
diff --git a/src/it/projects/shading-with-release-sources/pom.xml
b/src/it/projects/shading-with-release-sources/pom.xml
index ced29dd..81dde89 100644
--- a/src/it/projects/shading-with-release-sources/pom.xml
+++ b/src/it/projects/shading-with-release-sources/pom.xml
@@ -44,7 +44,7 @@ under the License.
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
+ <version>@version.maven-compiler-plugin@</version>
<configuration>
<release>${java.specification.version}</release>
</configuration>
diff --git a/src/it/projects/users-shader-impl/pom.xml
b/src/it/projects/users-shader-impl/pom.xml
index 8fdfadd..7447270 100644
--- a/src/it/projects/users-shader-impl/pom.xml
+++ b/src/it/projects/users-shader-impl/pom.xml
@@ -36,11 +36,6 @@ under the License.
<name>users-shader-impl</name>
- <properties>
- <maven.compiler.source>1.5</maven.compiler.source>
- <maven.compiler.target>1.5</maven.compiler.target>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>