diff --git a/.github/workflows/required-check.yml b/.github/workflows/required-check.yml index 4b73698166313..c853d52415835 100644 --- a/.github/workflows/required-check.yml +++ b/.github/workflows/required-check.yml @@ -40,7 +40,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Run CheckStyle - run: ./mvnw checkstyle:check -Dcheckstyle.skip=false -T1C + run: ./mvnw checkstyle:check -Dcheckstyle.skip=false -Pcheck -T1C check-spotless: if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }} @@ -51,7 +51,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Run Spotless - run: ./mvnw spotless:check -T1C + run: ./mvnw spotless:check -Pcheck -T1C check-license: if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }} @@ -62,4 +62,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Run Apache Rat - run: ./mvnw apache-rat:check -Drat.skip=false -T1C + run: ./mvnw apache-rat:check -Drat.skip=false -Pcheck -T1C diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml deleted file mode 100644 index 9a08540f7241c..0000000000000 --- a/.mvn/extensions.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - fr.jcgay.maven - maven-profiler - 3.2 - - diff --git a/pom.xml b/pom.xml index bc500f923ff96..0251855ca67b4 100644 --- a/pom.xml +++ b/pom.xml @@ -874,119 +874,6 @@ - - - org.apache.rat - apache-rat-plugin - ${apache-rat-plugin.version} - - - ${maven.multiModuleProjectDirectory}/src/resources/rat.txt - - - - - check - - verify - - - - - com.diffplug.spotless - spotless-maven-plugin - ${spotless-maven-plugin.version} - - - - - ${maven.multiModuleProjectDirectory}/src/resources/spotless/java.xml - - - - ${maven.multiModuleProjectDirectory}/src/resources/spotless/copyright.txt - - - - - UTF-8 - 4 - true - true - false - true - false - false - custom_1 - false - false - - - Leading blank line - --> -<project - --> - -<project - - - - - - maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} - - true - true - true - error - - ${maven.multiModuleProjectDirectory}/src/resources/checkstyle.xml - true - **/autogen/**/* - - - - maven-pmd-plugin - ${maven-pmd-plugin.version} - - true - ${java.version} - - - ${maven.multiModuleProjectDirectory}/src/resources/pmd.xml - - - - - com.github.spotbugs - spotbugs-maven-plugin - ${spotbugs-maven-plugin.version} - - false - false - - ${maven.multiModuleProjectDirectory}/src/resources/spotbugs.xml - - - com.mebigfatguy.fb-contrib - fb-contrib - ${fb-contrib.version} - - - com.h3xstream.findsecbugs - findsecbugs-plugin - ${findsecbugs.version} - - - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - ${sonar-maven-plugin.version} - - maven-javadoc-plugin @@ -1044,43 +931,6 @@ - - - - org.apache.rat - apache-rat-plugin - - - com.diffplug.spotless - spotless-maven-plugin - - - - apply - - compile - - - - - maven-checkstyle-plugin - - - validate - - check - - validate - - - - - maven-pmd-plugin - - - com.github.spotbugs - spotbugs-maven-plugin - @@ -1292,5 +1142,164 @@ + + check + + + + + + org.apache.rat + apache-rat-plugin + ${apache-rat-plugin.version} + + + ${maven.multiModuleProjectDirectory}/src/resources/rat.txt + + + + + check + + verify + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless-maven-plugin.version} + + + + + ${maven.multiModuleProjectDirectory}/src/resources/spotless/java.xml + + + + ${maven.multiModuleProjectDirectory}/src/resources/spotless/copyright.txt + + + + + UTF-8 + 4 + true + true + false + true + false + false + custom_1 + false + false + + + Leading blank line + --> + <project + --> + + <project + + + + + + maven-checkstyle-plugin + ${maven-checkstyle-plugin.version} + + true + true + true + error + + ${maven.multiModuleProjectDirectory}/src/resources/checkstyle.xml + true + **/autogen/**/* + + + + maven-pmd-plugin + ${maven-pmd-plugin.version} + + true + ${java.version} + + + ${maven.multiModuleProjectDirectory}/src/resources/pmd.xml + + + + + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs-maven-plugin.version} + + false + false + + ${maven.multiModuleProjectDirectory}/src/resources/spotbugs.xml + + + com.mebigfatguy.fb-contrib + fb-contrib + ${fb-contrib.version} + + + com.h3xstream.findsecbugs + findsecbugs-plugin + ${findsecbugs.version} + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar-maven-plugin.version} + + + + + + + org.apache.rat + apache-rat-plugin + + + com.diffplug.spotless + spotless-maven-plugin + + + + apply + + compile + + + + + maven-checkstyle-plugin + + + validate + + check + + validate + + + + + maven-pmd-plugin + + + com.github.spotbugs + spotbugs-maven-plugin + + + +