diff --git a/pom.xml b/pom.xml index 11ee20d2..9ddc1b8c 100644 --- a/pom.xml +++ b/pom.xml @@ -58,6 +58,7 @@ UTF-8 ${source.encoding} 11 + undefined false @@ -132,16 +133,7 @@ - - edu.hm.hafner - codingstyle - ${codingstyle.config.version} - - - com.uber.nullaway - nullaway - ${nullaway.version} - + net.bytebuddy byte-buddy @@ -266,6 +258,12 @@ archunit-junit5 ${archunit.version} test + + + org.slf4j + slf4j-api + + org.slf4j @@ -304,47 +302,40 @@ - org.pitest - pitest-maven - ${maven-pitest-plugin.version} + com.github.ekryd.sortpom + sortpom-maven-plugin + ${sortpom-maven-plugin.version} - XML,HTML - - *ITest - - - *equals - *hashCode - *toString - + false + true + false + groupId,artifactId + true - - - org.pitest - pitest-junit5-plugin - ${pitest-junit5-plugin.version} - - - org.apache.maven.plugins - maven-clean-plugin - ${maven-clean-plugin.version} - - - org.apache.maven.plugins - maven-install-plugin - ${maven-install-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-site-plugin - ${maven-site-plugin.version} + maven-checkstyle-plugin + ${maven-checkstyle-plugin.version} org.apache.maven.plugins - maven-deploy-plugin - ${maven-deploy-plugin.version} + maven-compiler-plugin + ${maven-compiler-plugin.version} org.apache.maven.plugins @@ -355,30 +346,61 @@ org.apache.maven.plugins maven-enforcer-plugin ${maven-enforcer-plugin.version} - - - org.codehaus.mojo - extra-enforcer-rules - 1.8.0 - - - - - enforce-require-property-diverges - - enforce - - - - - module.name - undefined - - - true - - - + + + org.apache.maven.plugins + maven-failsafe-plugin + ${maven-failsafe-plugin.version} + + + org.apache.maven.plugins + maven-jar-plugin + ${maven-jar-plugin.version} + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + ${java.version} + all,-missing + true + + + + org.apache.maven.plugins + maven-pmd-plugin + ${maven-pmd-plugin.version} + + + org.apache.maven.plugins + maven-release-plugin + ${maven-release-plugin.version} + + true + false + release + deploy + v@{project.version} + + + + org.apache.maven.plugins + maven-resources-plugin + ${maven-resources-plugin.version} + + ${source.encoding} + + + + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} org.assertj @@ -415,6 +437,11 @@ + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + org.openrewrite.maven rewrite-maven-plugin @@ -422,6 +449,8 @@ org.openrewrite.maven.BestPractices + org.openrewrite.maven.ManageDependencies + org.openrewrite.maven.RemoveRedundantDependencyVersions org.openrewrite.staticanalysis.MissingOverrideAnnotation org.openrewrite.staticanalysis.CommonStaticAnalysis org.openrewrite.staticanalysis.RemoveExtraSemicolons @@ -459,31 +488,95 @@ - com.github.ekryd.sortpom - sortpom-maven-plugin - ${sortpom-maven-plugin.version} + org.pitest + pitest-maven + ${maven-pitest-plugin.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.sonatype.plugins + nexus-staging-maven-plugin + ${nexus-staging-maven-plugin.version} + true + + ossrh + https://s01.oss.sonatype.org/ + true + 15 - io.github.git-commit-id - git-commit-id-maven-plugin - ${git-commit-id-maven-plugin.version} + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs-maven-plugin.version} - true - ${project.build.outputDirectory}/git.properties - - ^git.build.(time|version)$ - ^git.commit.id.(abbrev|full)$ - - full + true + Low + Low + Max + false + true + spotbugs-exclusion-filter.xml + true + + + com.h3xstream.findsecbugs + findsecbugs-plugin + ${findsecbugs-plugin.version} + + + + + edu.hm.hafner + codingstyle + ${codingstyle.config.version} + config + + + com.github.spotbugs + spotbugs + ${spotbugs.version} + + + + + run-spotbugs + + check + + verify + + + + + io.github.git-commit-id + git-commit-id-maven-plugin get-the-git-infos @@ -496,52 +589,58 @@ org.apache.maven.plugins - maven-enforcer-plugin - ${maven-enforcer-plugin.version} + maven-checkstyle-plugin + + false + true + warning + + + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + + + edu.hm.hafner + codingstyle + ${codingstyle.config.version} + config + + - enforce-java + run-checkstyle-java - enforce + check + verify - - - 11 - - + **/module-info.java + false + checkstyle-java-configuration.xml + ${project.build.directory}/checkstyle-java/checkstyle-result.xml + + + + run-checkstyle-tests + + check + + 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-release-plugin - ${maven-release-plugin.version} - - true - false - release - deploy - v@{project.version} - - - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus-staging-maven-plugin.version} - true - - ossrh - https://s01.oss.sonatype.org/ - true - 15 - - org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} ${java.version} @@ -646,66 +745,26 @@ org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - ${java.version} - all,-missing - true - - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-resources-plugin - ${maven-resources-plugin.version} - - ${source.encoding} - - - - org.apache.maven.plugins - maven-source-plugin - ${maven-source-plugin.version} + maven-enforcer-plugin - attach-sources + enforce-java - jar + enforce + + + + 11 + + + - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - false - - - **/*ITest.* - - - - - com.tngtech.archunit - archunit-junit5-engine - ${archunit.version} - - - org.apache.maven.plugins maven-failsafe-plugin - ${maven-failsafe-plugin.version} **/*ITest.* @@ -724,7 +783,6 @@ org.apache.maven.plugins maven-jar-plugin - ${maven-jar-plugin.version} @@ -735,10 +793,21 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + org.apache.maven.plugins maven-pmd-plugin - ${maven-pmd-plugin.version} false ${java.version} @@ -786,29 +855,6 @@ ${pmd.skip} - - run-pmd-tests - - pmd - check - 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 - - ${pmd.skip} - - run-pmd-javascript @@ -833,108 +879,72 @@ ${pmd.skip} - - - - org.apache.maven.plugins - maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} - - false - true - warning - - - - com.puppycrawl.tools - checkstyle - ${checkstyle.version} - - - edu.hm.hafner - codingstyle - ${codingstyle.config.version} - config - - - - run-checkstyle-java + run-pmd-tests + pmd check + cpd verify - **/module-info.java - false - checkstyle-java-configuration.xml - ${project.build.directory}/checkstyle-java/checkstyle-result.xml + ${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 + + ${pmd.skip} + + + + org.apache.maven.plugins + maven-release-plugin + + + org.apache.maven.plugins + maven-resources-plugin + + + org.apache.maven.plugins + maven-source-plugin + - run-checkstyle-tests + attach-sources - check + jar - verify - - **/*Assert*.java,**/*_jmh*,**/module-info.java - true - checkstyle-tests-configuration.xml - ${project.build.directory}/checkstyle-tests/checkstyle-result.xml - - - com.github.spotbugs - spotbugs-maven-plugin - ${spotbugs-maven-plugin.version} + org.apache.maven.plugins + maven-surefire-plugin - true - Low - Low - Max - false - true - spotbugs-exclusion-filter.xml - true - - - com.h3xstream.findsecbugs - findsecbugs-plugin - ${findsecbugs-plugin.version} - - + false + + + **/*ITest.* + - edu.hm.hafner - codingstyle - ${codingstyle.config.version} - config - - - com.github.spotbugs - spotbugs - ${spotbugs.version} + com.tngtech.archunit + archunit-junit5-engine + ${archunit.version} - - - run-spotbugs - - check - - verify - - org.jacoco jacoco-maven-plugin - ${jacoco-maven-plugin.version} @@ -954,7 +964,6 @@ org.revapi revapi-maven-plugin - ${revapi-maven-plugin.version} [-0-9.]* true @@ -1019,6 +1028,11 @@ + + org.sonatype.plugins + nexus-staging-maven-plugin + true +