Skip to content

Commit

Permalink
Use jpms variant and adjust base compile to remove warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpaljak committed Nov 18, 2024
1 parent 9beda28 commit 20db385
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>base-compile</id>
<configuration>
<!-- compile everything to ensure module-info contains right entries -->
<release>17</release>
<compilerArgs combine.children="append">
<arg>-Werror</arg>
<arg>-Xlint:all</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>

Expand Down
2 changes: 1 addition & 1 deletion tool/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<artifactId>jna-platform-jpms</artifactId>
<version>5.15.0</version>
</dependency>
<dependency>
Expand Down

0 comments on commit 20db385

Please sign in to comment.