Skip to content

Commit

Permalink
Add -parameters Java compiler flag
Browse files Browse the repository at this point in the history
Required for easier mapping of query parameter and results with JDBI.

https://jdbi.org/#_constructormapper
Signed-off-by: nscuro <[email protected]>
  • Loading branch information
nscuro committed Dec 3, 2023
1 parent 6e13842 commit 221546f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,24 @@
<filtering>false</filtering>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>17</source>
<target>17</target>
<compilerArgs>
<arg>-Xlint:all</arg>
<arg>-Xlint:-processing</arg>
<arg>-Xlint:-serial</arg>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 221546f

Please sign in to comment.