You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2022/04/05 18:45:38 UTC

[jackrabbit-filevault-package-maven-plugin] 01/01: JCRVLT-626 use maven-verifier 1.8.0 and set embedder classpath accordingly for the default Maven version

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

kwin pushed a commit to branch feature/JCRVLT-626-use-verifier-1.8.0
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault-package-maven-plugin.git

commit e7e1a5690db002697be4cdd3b06dabcc3f0e1a4e
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Tue Apr 5 20:45:26 2022 +0200

    JCRVLT-626 use maven-verifier 1.8.0 and set embedder classpath
    accordingly for the default Maven version
---
 pom.xml | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 7ad1fe0..763f1f3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -479,7 +479,7 @@
         <dependency>
             <groupId>org.apache.maven.shared</groupId>
             <artifactId>maven-verifier</artifactId>
-            <version>1.7.2</version>
+            <version>1.8.0</version>
             <scope>test</scope>
             <exclusions>
                 <!-- exclude JUnit4, not actively used in this context, compare with https://issues.apache.org/jira/browse/MSHARED-1043 -->
@@ -489,6 +489,41 @@
                 </exclusion>
             </exclusions>
         </dependency>
+        <!-- embedder for testing Embedded3xLauncher with classpath
+             must test with the minimum supported Maven version, as otherwise the Maven Resolver/Aether API
+             from the compile classpath conflicts
+         -->
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-embedder</artifactId>
+            <version>${maven.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <!-- START transitive dependencies of embedder -->
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-simple</artifactId>
+            <version>${slf4j.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <!-- required due to https://issues.apache.org/jira/browse/MNG-6561 -->
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-compat</artifactId>
+            <version>${maven.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.aether</groupId>
+            <artifactId>aether-connector-basic</artifactId>
+            <version>${aether.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.aether</groupId>
+            <artifactId>aether-transport-wagon</artifactId>
+            <version>${aether.version}</version>
+        </dependency>
+        <!-- END transitive dependencies of embedder -->
         <dependency>
             <groupId>org.apache.maven.shared</groupId>
             <artifactId>maven-shared-io</artifactId>