Refresh setup-custom-ear-lifecycle test
diff --git a/pom.xml b/pom.xml
index a5d0d9e..57a8e64 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,6 +96,7 @@
     <javaVersion>8</javaVersion>
     <project.build.outputTimestamp>2022-11-22T08:07:26Z</project.build.outputTimestamp>
     <slf4j.version>1.7.36</slf4j.version>
+    <plexus-archiver.version>4.6.0</plexus-archiver.version>
   </properties>
 
   <dependencyManagement>
@@ -176,7 +177,7 @@
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-archiver</artifactId>
-      <version>4.6.0</version>
+      <version>${plexus-archiver.version}</version>
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
diff --git a/src/it/projects/setup-custom-ear-lifecycle/manager/pom.xml b/src/it/projects/setup-custom-ear-lifecycle/manager/pom.xml
index d3f8564..41e9fe1 100644
--- a/src/it/projects/setup-custom-ear-lifecycle/manager/pom.xml
+++ b/src/it/projects/setup-custom-ear-lifecycle/manager/pom.xml
@@ -33,7 +33,7 @@
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-archiver</artifactId>
-      <version>2.6.3</version>
+      <version>@plexus-archiver.version@</version>
     </dependency>
   </dependencies>
 
diff --git a/src/it/projects/setup-custom-ear-lifecycle/plugin/pom.xml b/src/it/projects/setup-custom-ear-lifecycle/plugin/pom.xml
index 9d2e657..ca1f9b3 100644
--- a/src/it/projects/setup-custom-ear-lifecycle/plugin/pom.xml
+++ b/src/it/projects/setup-custom-ear-lifecycle/plugin/pom.xml
@@ -41,18 +41,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-plugin-plugin</artifactId>
-        <version>3.1</version>
-        <configuration>
-          <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
-        </configuration>
-        <executions>
-          <execution>
-            <id>mojo-descriptor</id>
-            <goals>
-              <goal>descriptor</goal>
-            </goals>
-          </execution>
-        </executions>
+        <version>3.7.0</version>
       </plugin>
     </plugins>
   </build>
@@ -68,23 +57,25 @@
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
-      <version>2.0.9</version>
+      <version>@mavenVersion@</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
-      <artifactId>maven-project</artifactId>
-      <version>2.0.9</version>
+      <artifactId>maven-core</artifactId>
+      <version>@mavenVersion@</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-archiver</artifactId>
-      <version>4.2.2</version>
+      <version>@plexus-archiver.version@</version>
     </dependency>
     <!-- dependencies to annotations -->
     <dependency>
       <groupId>org.apache.maven.plugin-tools</groupId>
       <artifactId>maven-plugin-annotations</artifactId>
-      <version>3.1</version>
+      <version>3.7.0</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>