You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/09/11 01:12:02 UTC

[commons-vfs] branch master updated: Jackrabbit 1 does not run on Java 14.

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new e2d4a9d  Jackrabbit 1 does not run on Java 14.
     new 7973820  Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-vfs
e2d4a9d is described below

commit e2d4a9dcbef5ca0d66cb140e0c0d3fdf1fefa4ad
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Sep 10 21:11:27 2020 -0400

    Jackrabbit 1 does not run on Java 14.
---
 commons-vfs2-jackrabbit1/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/commons-vfs2-jackrabbit1/pom.xml b/commons-vfs2-jackrabbit1/pom.xml
index 6111e1d..65dced3 100644
--- a/commons-vfs2-jackrabbit1/pom.xml
+++ b/commons-vfs2-jackrabbit1/pom.xml
@@ -250,4 +250,25 @@
       </plugin>    
     </plugins>
   </reporting>
+  
+  <profiles>
+    <profile>
+      <id>java14</id>
+        <!-- Jackrabbit 1 does not run on Java 14. -->
+        <activation>
+          <jdk>[14,)</jdk>
+        </activation>
+        <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <skipTests>true</skipTests>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>