diff --git a/pom.xml b/pom.xml index 18d539a0..67b99ac8 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ analysis-pom pom Analysis Plug-ins Parent POM - 7.5.0-SNAPSHOT + 8.0.0-SNAPSHOT https://github.com/jenkinsci/analysis-pom-plugin This static analysis POM serves as parent POM for all my Jenkins Plugins. It basically enhances the @@ -26,7 +26,7 @@ 2.426 ${jenkins.baseline}.3 false - 3.42.0 + 4.6.0 20.11.0 @@ -41,7 +41,7 @@ 4.8.4 - 6.55.0 + 7.0.0 3.3.1 10.15.0 3.21.2 @@ -331,20 +331,10 @@ org.apache.maven.plugins maven-checkstyle-plugin ${maven-checkstyle-plugin.version} - - - run-checkstyle - - checkstyle - - verify - - false - false - checkstyle-configuration.xml - true + true + false **/*Assert*.java,**/InjectedTest.java,**/Messages.java,**/*_jmh* @@ -360,38 +350,49 @@ config - - - org.apache.maven.plugins - maven-pmd-plugin - ${maven-pmd-plugin.version} - run-pmd + run-checkstyle-java - pmd - cpd + checkstyle + + verify + + **/module-info.java + false + checkstyle-java-configuration.xml + ${project.build.directory}/checkstyle-java/checkstyle-result.xml + + + + run-checkstyle-tests + + checkstyle verify + + **/*Assert*.java,**/*_jmh*,**/module-info.java + true + checkstyle-tests-configuration.xml + ${project.build.directory}/checkstyle-tests/checkstyle-result.xml + + + + org.apache.maven.plugins + maven-pmd-plugin + ${maven-pmd-plugin.version} false - - pmd-configuration.xml - - - target/generated-sources/localizer - target/generated-test-sources/test-annotations - target/generated-test-sources/assertj-assertions - - - **/InjectedTest.java - - true - 50 + false + + net.sourceforge.pmd + pmd-compat6 + ${pmd.version} + net.sourceforge.pmd pmd-core @@ -402,6 +403,16 @@ pmd-java ${pmd.version} + + net.sourceforge.pmd + pmd-javascript + ${pmd.version} + + + net.sourceforge.pmd + pmd-jsp + ${pmd.version} + edu.hm.hafner codingstyle @@ -409,6 +420,68 @@ config + + + run-pmd-java + + pmd + cpd + + verify + + ${project.build.directory}/pmd-java + + pmd-java-configuration.xml + + false + 50 + + + + run-pmd-tests + + pmd + cpd + + verify + + ${project.build.directory}/pmd-tests + + pmd-tests-configuration.xml + + true + 100 + + src/main/java + ${project.build.directory}/generated-test-sources/test-annotations + ${project.build.directory}/generated-test-sources/assertj-assertions + + + + + run-pmd-javascript + + pmd + + verify + + ${project.build.directory}/pmd-javascript + + pmd-javascript-configuration.xml + + false + javascript + + ${basedir}/src/main/resources + ${basedir}/src/main/webapp/js + + + **/*.js + + + + + com.github.spotbugs