You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/11/22 18:10:42 UTC

[maven-dependency-plugin] 03/03: Refresh setup-custom-ear-lifecycle test

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git

commit e741282d23bf0411057874c5194578ec720abf91
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Tue Nov 22 18:01:36 2022 +0100

    Refresh setup-custom-ear-lifecycle test
---
 pom.xml                                            |  3 ++-
 .../setup-custom-ear-lifecycle/manager/pom.xml     |  2 +-
 .../setup-custom-ear-lifecycle/plugin/pom.xml      | 25 +++++++---------------
 3 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/pom.xml b/pom.xml
index a5d0d9e4..57a8e642 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,6 +96,7 @@ under the License.
     <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 @@ under the License.
     <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 d3f85640..41e9fe15 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 @@ under the License.
     <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 9d2e6573..ca1f9b3a 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 @@ under the License.
       <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 @@ under the License.
     <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>