Skip to content

Commit

Permalink
Skip all PMD invocations on profile skip.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed May 7, 2024
1 parent 0899a7b commit 37c2800
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@

<module.name>${project.groupId}.codingstyle</module.name>

<pmd.skip>false</pmd.skip>

<!-- Project Dependencies Configuration -->
<spotbugs.version>4.8.5</spotbugs.version>
<commons.lang.version>3.14.0</commons.lang.version>
Expand Down Expand Up @@ -650,7 +652,7 @@
</rulesets>
<includeTests>false</includeTests>
<minimumTokens>50</minimumTokens>
<skip>false</skip>
<skip>${pmd.skip}</skip>
</configuration>
</execution>
<execution>
Expand All @@ -673,7 +675,7 @@
<excludeRoot>${project.build.directory}/generated-test-sources/test-annotations</excludeRoot>
<excludeRoot>${project.build.directory}/generated-test-sources/assertj-assertions</excludeRoot>
</excludeRoots>
<skip>false</skip>
<skip>${pmd.skip}</skip>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -729,7 +731,6 @@
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs-maven-plugin.version}</version>
<configuration>
<failOnError>true</failOnError>
<xmlOutput>true</xmlOutput>
<threshold>Low</threshold>
<failThreshold>Low</failThreshold>
Expand Down Expand Up @@ -894,7 +895,8 @@
<maven.test.failure.ignore>true</maven.test.failure.ignore>
<checkstyle.failOnViolation>false</checkstyle.failOnViolation>
<pmd.failOnViolation>false</pmd.failOnViolation>
<spotbugs.maxAllowedViolations>10000000</spotbugs.maxAllowedViolations>
<spotbugs.failOnError>false</spotbugs.failOnError>
<gpg.skip>true</gpg.skip>
</properties>
</profile>
<profile>
Expand Down

0 comments on commit 37c2800

Please sign in to comment.