diff --git a/pom.xml b/pom.xml index f6055f2e..ec3699eb 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ org.jvnet.hudson.plugins analysis-pom - 9.1.0-SNAPSHOT + 10.0.0-SNAPSHOT pom Analysis Plug-ins Parent POM This static analysis POM serves as parent POM for all my Jenkins Plugins. It basically enhances the @@ -34,6 +34,9 @@ uhafner Ullrich Hafner ullrich.hafner@gmail.com + https://cs.hm.edu/~hafner + Munich University of Applied Sciences + https://www.hm.edu/en/index.en.html @@ -45,7 +48,7 @@ - 2.462 + 2.479 ${jenkins.baseline}.1 ${maven.compiler.release} false @@ -64,7 +67,7 @@ 2.3.0 3.26.3 1.3.0 - 2.40.1 + 3.5.0 4.8.6 @@ -73,14 +76,20 @@ 10.20.1 3.26.0 1.13.0 - 1.17.1 - 1.2.1 + 1.17.1 + 1.2.1 0.15.0 0.28.1 0.5.0 2.2.0 4.0.3 - 4.0.0 + + + 5.44.0 + 2.21.0 + 1.19.0 + 2.28.0 + 1.12.0 @@ -92,26 +101,6 @@ pom import - - net.bytebuddy - byte-buddy - 1.15.10 - - - org.junit.platform - junit-platform-engine - 1.11.3 - - - org.junit.platform - junit-platform-commons - 1.11.3 - - - org.slf4j - slf4j-api - 2.0.16 - @@ -135,27 +124,7 @@ org.junit.jupiter - junit-jupiter-api - test - - - org.junit.jupiter - junit-jupiter-engine - test - - - org.junit.vintage - junit-vintage-engine - test - - - org.junit.platform - junit-platform-launcher - test - - - org.junit.jupiter - junit-jupiter-params + junit-jupiter test @@ -180,6 +149,12 @@ archunit-junit5 ${archunit.version} test + + + org.slf4j + slf4j-api + + net.javacrumbs.json-unit @@ -213,6 +188,47 @@ + + com.github.ekryd.sortpom + sortpom-maven-plugin + ${sortpom-maven-plugin.version} + + false + true + false + groupId,artifactId + true + + + + com.github.ferstl + depgraph-maven-plugin + ${depgraph-maven-plugin.version} + + + io.github.git-commit-id + git-commit-id-maven-plugin + ${git-commit-id-maven-plugin.version} + + true + ${project.build.outputDirectory}/git.properties + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + + full + + + + org.apache.maven.plugins + maven-checkstyle-plugin + ${maven-checkstyle-plugin.version} + + + org.apache.maven.plugins + maven-pmd-plugin + ${maven-pmd-plugin.version} + org.assertj assertj-assertions-generator-maven-plugin @@ -243,24 +259,90 @@ - org.apache.maven.plugins - maven-dependency-plugin - ${maven-dependency-plugin.version} + org.openrewrite.maven + rewrite-maven-plugin + ${rewrite-maven-plugin.version} + + + org.openrewrite.maven.BestPractices + org.openrewrite.maven.RemoveRedundantDependencyVersions + org.openrewrite.staticanalysis.AddSerialAnnotationToSerialVersionUID + org.openrewrite.staticanalysis.MissingOverrideAnnotation + org.openrewrite.staticanalysis.CodeCleanup + org.openrewrite.staticanalysis.CommonStaticAnalysis + org.openrewrite.staticanalysis.RemoveExtraSemicolons + org.openrewrite.java.migrate.UpgradeToJava17 + org.openrewrite.java.migrate.util.SequencedCollection + org.openrewrite.java.migrate.lang.var.UseVarForObject + org.openrewrite.java.migrate.net.JavaNetAPIs + org.openrewrite.java.migrate.util.JavaUtilAPIs + org.openrewrite.java.migrate.lang.StringRulesRecipes + org.openrewrite.java.format.RemoveTrailingWhitespace + org.openrewrite.java.format.BlankLines + org.openrewrite.java.format.EmptyNewlineAtEndOfFile + org.openrewrite.java.testing.assertj.SimplifyChainedAssertJAssertions + + + + + org.openrewrite.recipe + rewrite-testing-frameworks + ${rewrite-testing-frameworks.version} + + + org.openrewrite.recipe + rewrite-static-analysis + ${rewrite-static-analysis.version} + + + org.openrewrite.recipe + rewrite-migrate-java + ${rewrite-migrate-java.version} + + + org.openrewrite.recipe + rewrite-recommendations + ${rewrite-recommendations.version} + + - org.apache.maven.plugins - maven-resources-plugin - ${maven-resources-plugin.version} + org.owasp + dependency-check-maven + ${dependency-check-maven.version} - com.github.ekryd.sortpom - sortpom-maven-plugin - ${sortpom-maven-plugin.version} + org.pitest + pitest-maven + ${pitest-maven.version} - false - true - false + XML,HTML + + *ITest + + + *equals + *hashCode + *toString + + + + org.pitest + pitest-junit5-plugin + ${pitest-junit5-plugin.version} + + + + + org.revapi + revapi-maven-plugin + ${revapi-maven-plugin.version} + + + org.apache.maven.plugins + maven-resources-plugin + ${maven-resources-plugin.version} @@ -382,7 +464,7 @@ org.pitest pitest-maven - ${pitest-maven.plugin} + ${pitest-maven.version} XML,HTML true @@ -404,7 +486,7 @@ org.pitest pitest-junit5-plugin - ${pitest-maven.junit5.plugin} + ${pitest-junit5-plugin.version} @@ -419,14 +501,14 @@ - net.sourceforge.pmd + edu.hm.hafner pmd-core - ${pmd.version} + ${pmd.version}-metrics-2 - net.sourceforge.pmd + edu.hm.hafner pmd-java - ${pmd.version} + ${pmd.version}-metrics-2 net.sourceforge.pmd @@ -498,8 +580,8 @@ false javascript - src/main/resources - src/main/webapp/js + ${project.basedir}/src/main/resources + ${project.basedir}/src/main/webapp/js **/*.js @@ -507,6 +589,22 @@ ${pmd.skip} + + run-pmd-metrics + + pmd + + verify + + ${project.build.directory}/metrics + + /category/java/metric.xml + + net.sourceforge.pmd.renderers.MetricsRenderer + false + ${pmd.skip} + + @@ -773,6 +871,28 @@ + + owasp + + + + org.owasp + dependency-check-maven + + NVD_API_KEY + JSON + + + + + check + + + + + + + depgraph