Skip to content

Commit

Permalink
ADD maven.compiler.release=8 for cross complie compatiblity
Browse files Browse the repository at this point in the history
  • Loading branch information
vharseko committed Oct 14, 2024
1 parent 9829798 commit d33fe3c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
15 changes: 15 additions & 0 deletions opendj-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,21 @@


<profiles>
<profile>
<id>set-compiler-release</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<maven.compiler.release>8</maven.compiler.release>
<!--
-release 8 dont allow hidden packages
package sun.security.tools.keytool does not exist
package sun.security.x509 does not exist
-->
<maven.compiler.testRelease></maven.compiler.testRelease>
</properties>
</profile>
<profile>
<!-- This profile provides API/ABI compatiblity checks and reports via Clirr -->
<id>clirr</id>
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,6 @@
</activation>
<properties>
<maven.compiler.release>8</maven.compiler.release>
<maven.compiler.testRelease></maven.compiler.testRelease>
</properties>
</profile>
<profile>
Expand Down

0 comments on commit d33fe3c

Please sign in to comment.