You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2025/07/10 15:56:12 UTC
(jackrabbit) 01/01: JCR-5164: 2.20: cherry-pick changes from 2.22 parent pom to fix compilation issues
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a commit to branch JCR-5164
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git
commit 6146852f9a32466f7681b93ce5c217920fd7717e
Author: Julian Reschke <re...@apache.org>
AuthorDate: Thu Jul 10 16:55:52 2025 +0100
JCR-5164: 2.20: cherry-pick changes from 2.22 parent pom to fix compilation issues
---
jackrabbit-parent/pom.xml | 34 ++++++++++------------------------
1 file changed, 10 insertions(+), 24 deletions(-)
diff --git a/jackrabbit-parent/pom.xml b/jackrabbit-parent/pom.xml
index 8b1daff5b..f701c7b86 100644
--- a/jackrabbit-parent/pom.xml
+++ b/jackrabbit-parent/pom.xml
@@ -64,8 +64,13 @@
<slf4j.api.version>1.7.36</slf4j.api.version>
<slf4j.version>1.7.36</slf4j.version> <!-- sync with logback version -->
<logback.version>1.2.11</logback.version>
- <java.version>1.8</java.version>
- <java.version.signature>java18</java.version.signature>
+
+ <!-- determines the bytecode version (i.e. the minimum JRE required to run the build artifact) -->
+ <javaTargetVersion>8</javaTargetVersion>
+ <maven.compiler.release>${javaTargetVersion}</maven.compiler.release>
+ <maven.compiler.target>${javaTargetVersion}</maven.compiler.target>
+ <minimalJavaBuildVersion>${javaTargetVersion}</minimalJavaBuildVersion>
+
<skip.coverage>true</skip.coverage>
<minimum.line.coverage>0.0</minimum.line.coverage>
<minimum.branch.coverage>0.0</minimum.branch.coverage>
@@ -193,29 +198,10 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <target>${java.version}</target>
- <source>${java.version}</source>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>animal-sniffer-maven-plugin</artifactId>
- <version>1.23</version>
- <configuration>
- <signature>
- <groupId>org.codehaus.mojo.signature</groupId>
- <artifactId>${java.version.signature}</artifactId>
- <version>1.0</version>
- </signature>
+ <compilerArgs>
+ <arg>-Xpkginfo:always</arg>
+ </compilerArgs>
</configuration>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
</plugin>
<!-- Generate aggregate Javadocs -->
<plugin>