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:18 UTC

[db-jdo] branch tck-compiler-warnings created (now 8f4afe64)

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

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


      at 8f4afe64 Update pom.xml to show compiler warnings

This branch includes the following new commits:

     new 8f4afe64 Update pom.xml to show compiler warnings

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by cl...@apache.org.
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>