Skip to content

Commit

Permalink
Merge pull request #19 from sentrysoftware/feature/implement-oss-parent
Browse files Browse the repository at this point in the history
Fixed updated POM. Added maven.compiler.release property.
  • Loading branch information
NassimBtk authored Feb 7, 2025
2 parents 76374a2 + a4206d4 commit 6aae0ca
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
</developers>

<properties>
<!-- Java 8 -->
<maven.compiler.target>8</maven.compiler.target>
<!-- Java 8 & 17 -->
<maven.compiler.release>17</maven.compiler.release>

<!-- Reproducible Build -->
<!-- See https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
Expand Down Expand Up @@ -145,6 +145,17 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>${null}<!-- keep empty to force target Java 8 --></release>
<target>1.8</target>
</configuration>
</execution>
<execution>
<id>compile-java-21</id>
<phase>compile</phase>
Expand Down

0 comments on commit 6aae0ca

Please sign in to comment.