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

reschke pushed a commit to branch OAK-10001
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/OAK-10001 by this push:
     new 99780c8b22 OAK-10001: switch to Java 11 as minimal Java version
99780c8b22 is described below

commit 99780c8b22077d479e54a77f0f5f024373d54e1b
Author: Julian Reschke <julian.resc...@gmx.de>
AuthorDate: Mon Dec 19 14:19:44 2022 +0100

    OAK-10001: switch to Java 11 as minimal Java version
---
 oak-parent/pom.xml | 47 ++---------------------------------------------
 1 file changed, 2 insertions(+), 45 deletions(-)

diff --git a/oak-parent/pom.xml b/oak-parent/pom.xml
index 00f3e8a295..f823d307b6 100644
--- a/oak-parent/pom.xml
+++ b/oak-parent/pom.xml
@@ -66,8 +66,7 @@
     <jackson.version>2.13.4</jackson.version>
     <testcontainers.version>1.17.5</testcontainers.version>
     <pax-exam.version>4.13.1</pax-exam.version>
-    <java.version>1.8</java.version>
-    <java.version.signature>java18</java.version.signature>
+    <java.version>11</java.version>
     
    <!-- specifies on which fixture to run the integration testing tests. 
       override in profiles or provide from command line to change behaviour. 
Provide 
@@ -116,42 +115,13 @@
           <configuration>
             <target>${java.version}</target>
             <source>${java.version}</source>
+            <release>${java.version}</release>
             <compilerArgs>
               <!-- OAK-7310 -->
               <arg>-Xpkginfo:always</arg>
             </compilerArgs>
           </configuration>
         </plugin>
-        <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>animal-sniffer-maven-plugin</artifactId>
-          <version>1.22</version>
-          <configuration>
-            <signature>
-              <groupId>org.codehaus.mojo.signature</groupId>
-              <artifactId>${java.version.signature}</artifactId>
-              <version>1.0</version>
-            </signature>
-          </configuration>
-        </plugin>
-        <plugin>
-          <artifactId>maven-javadoc-plugin</artifactId>
-          <version>3.1.1</version>
-          <configuration>
-            <source>${java.version}</source>
-            <doclint>none</doclint>
-            <detectJavaApiLink>false</detectJavaApiLink>
-            <aggregate>true</aggregate>
-            <links>
-              <link>https://s.apache.org/jcr-2.0-javadoc/</link>
-              <link>https://jackrabbit.apache.org/api/2.20/</link>
-              
<link>https://google.github.io/guava/releases/${guava.version}/api/docs/</link>
-              <link>http://www.slf4j.org/apidocs/</link>
-            </links>
-            <!-- workaround for https://issues.apache.org/jira/browse/OAK-8517 
-->
-           
<excludePackageNames>org.apache.jackrabbit.oak.plugins.index.*</excludePackageNames>
-          </configuration>
-        </plugin>
         <plugin>
           <groupId>org.apache.felix</groupId>
           <artifactId>maven-bundle-plugin</artifactId>
@@ -514,19 +484,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>animal-sniffer-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>animal-sniffer</id>
-            <phase>compile</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 

Reply via email to