You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2017/02/24 06:12:33 UTC

cxf git commit: [CXF-7261]checkstyle and pmd is ignored when build with java9

Repository: cxf
Updated Branches:
  refs/heads/master 9f54ff897 -> 4ea19d647


[CXF-7261]checkstyle and pmd is ignored when build with java9


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/4ea19d64
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4ea19d64
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4ea19d64

Branch: refs/heads/master
Commit: 4ea19d64741fbb5fddf7b7e09fab3b33f72f88c7
Parents: 9f54ff8
Author: Freeman Fang <fr...@gmail.com>
Authored: Fri Feb 24 14:12:20 2017 +0800
Committer: Freeman Fang <fr...@gmail.com>
Committed: Fri Feb 24 14:12:20 2017 +0800

----------------------------------------------------------------------
 parent/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/4ea19d64/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index e7bd376..8752ff5 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -2242,6 +2242,27 @@
 	    <activation>
         	<jdk>9</jdk>
             </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-checkstyle-plugin</artifactId>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-compiler-plugin</artifactId>
+                        <configuration>
+                            <showDeprecation>${cxf.compile.show.deprecation}</showDeprecation>
+                            <showWarnings>true</showWarnings>
+                            <compilerArgument>${cxf.compile.flags}</compilerArgument>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-pmd-plugin</artifactId>
+                    </plugin>
+                </plugins>
+            </build>
 	</profile>
     </profiles>