Skip to content

Commit

Permalink
package-info.class files inside org.eclipse.parsson:jakarta.json are …
Browse files Browse the repository at this point in the history
…compiled with the wrong Java version #73

Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
  • Loading branch information
jbescos authored and lukasj committed Apr 21, 2023
1 parent 7f2ed19 commit 7c9a82d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>9</release>
<!-- Workaround to compile package-info with JDK8 -->
<createMissingPackageInfoClass>false</createMissingPackageInfoClass>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
Expand All @@ -205,6 +207,7 @@
</goals>
<configuration>
<release>8</release>
<createMissingPackageInfoClass>true</createMissingPackageInfoClass>
<excludes>
<exclude>module-info.java</exclude>
</excludes>
Expand Down

0 comments on commit 7c9a82d

Please sign in to comment.