You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by cl...@apache.org on 2022/06/27 23:00:19 UTC

[db-jdo] 01/01: Update pom.xml to show compiler warnings

This is an automated email from the ASF dual-hosted git repository.

clr pushed a commit to branch tck-compiler-warnings
in repository https://gitbox.apache.org/repos/asf/db-jdo.git

commit 8f4afe640b22ac8aacd45d7baaa749c4e8270059
Author: Craig L Russell <ap...@gmail.com>
AuthorDate: Mon Jun 27 16:00:16 2022 -0700

    Update pom.xml to show compiler warnings
---
 tck/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tck/pom.xml b/tck/pom.xml
index 3b70cb8c..94c98cee 100644
--- a/tck/pom.xml
+++ b/tck/pom.xml
@@ -80,6 +80,15 @@
             </resource>
         </resources>
         <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <showWarnings>true</showWarnings>
+                    <fork>true</fork>
+                    <compilerArgument>-Xlint:unchecked</compilerArgument>
+                </configuration>
+            </plugin>
             <plugin>
                 <!-- store dependencies into property dependency.classpath -->
                 <artifactId>maven-dependency-plugin</artifactId>