Skip to content

Commit 2e5da19

Browse files
committed
Add pmd
1 parent c0db5bd commit 2e5da19

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/qa.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,7 @@ jobs:
3434
restore-keys: ${{ runner.os }}-m2
3535
- name: Run QA Checkstyle
3636
if: success() || failure()
37-
run: mvn -B checkstyle:checkstyle --file pom.xml
37+
run: mvn -B checkstyle:checkstyle --file pom.xml
38+
- name: Run PMD Check
39+
if: success() || failure()
40+
run: mvn -B pmp:pmp --file pom.xml

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,19 @@
140140
</execution>
141141
</executions>
142142
</plugin>
143+
<plugin>
144+
<groupId>org.apache.maven.plugins</groupId>
145+
<artifactId>maven-pmd-plugin</artifactId>
146+
<version>3.23.0</version>
147+
<executions>
148+
<execution>
149+
<phase>verify</phase>
150+
<goals>
151+
<goal>check</goal>
152+
</goals>
153+
</execution>
154+
</executions>
155+
</plugin>
143156
</plugins>
144157
</build>
145158
</project>

0 commit comments

Comments
 (0)