Skip to content

Commit

Permalink
Merge pull request #180 from jakartaee/enable-pmd
Browse files Browse the repository at this point in the history
Enable Apache PMD at NoSQL spec
  • Loading branch information
otaviojava authored Aug 8, 2024
2 parents 1a53380 + 9934ce5 commit 84dd2f8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 7 deletions.
34 changes: 28 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,19 @@
<properties>
<apache.rat.version>0.15</apache.rat.version>
<checkstyle.excludes></checkstyle.excludes>
<jacoco.maven.version>0.8.11</jacoco.maven.version>
<maven-javadoc-plugin.vesion>3.6.3</maven-javadoc-plugin.vesion>
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
<maven.checkstyle.plugin.version>3.3.1</maven.checkstyle.plugin.version>
<maven.compile.version>3.12.1</maven.compile.version>
<jacoco.maven.version>0.8.12</jacoco.maven.version>
<maven-javadoc-plugin.vesion>3.8.0</maven-javadoc-plugin.vesion>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven.checkstyle.plugin.version>3.4.0</maven.checkstyle.plugin.version>
<maven.compile.version>3.13.0</maven.compile.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.surefire.plugin.version>3.2.5</maven.surefire.plugin.version>
<maven.surefire.plugin.version>3.3.1</maven.surefire.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonar.jacoco.reportPath>../target/jacoco.exec</sonar.jacoco.reportPath>
<sonar.maven.version>3.10.0.2594</sonar.maven.version>
<maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version>
<apache.pdm.plugin.version>3.24.0</apache.pdm.plugin.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -284,6 +285,27 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${apache.pdm.plugin.version}</version>
<configuration>
<rulesets>
<ruleset>/category/java/bestpractices.xml</ruleset>
<ruleset>/category/java/security.xml</ruleset>
<ruleset>/category/java/performance.xml</ruleset>
</rulesets>
<failOnViolation>true</failOnViolation>
<printFailingErrors>true</printFailingErrors>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down
2 changes: 1 addition & 1 deletion spec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<properties>
<asciidoctor-maven.version>3.0.0</asciidoctor-maven.version>
<asciidoctorj-pdf.version>2.3.15</asciidoctorj-pdf.version>
<asciidoctorj-pdf.version>2.3.18</asciidoctorj-pdf.version>
<maven.build.timestamp.format>MMMM dd, yyyy</maven.build.timestamp.format>
<revisiondate>${maven.build.timestamp}</revisiondate>
<revremark>Draft</revremark>
Expand Down

0 comments on commit 84dd2f8

Please sign in to comment.