Skip to content

Commit f5240c0

Browse files
committed
Add pmd to published module
1 parent 3bc085a commit f5240c0

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

template-placeholder/pom.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,5 +265,45 @@
265265
</plugins>
266266
</build>
267267
</profile>
268+
<profile>
269+
<id>pmd</id>
270+
<build>
271+
<plugins>
272+
<plugin>
273+
<groupId>org.apache.maven.plugins</groupId>
274+
<artifactId>maven-pmd-plugin</artifactId>
275+
<version>3.23.0</version>
276+
<configuration>
277+
<includeTests>true</includeTests>
278+
<rulesets>
279+
<ruleset>../.config/pmd/ruleset.xml</ruleset>
280+
</rulesets>
281+
</configuration>
282+
<dependencies>
283+
<dependency>
284+
<groupId>net.sourceforge.pmd</groupId>
285+
<artifactId>pmd-core</artifactId>
286+
<version>7.2.0</version>
287+
</dependency>
288+
<dependency>
289+
<groupId>net.sourceforge.pmd</groupId>
290+
<artifactId>pmd-java</artifactId>
291+
<version>7.2.0</version>
292+
</dependency>
293+
</dependencies>
294+
</plugin>
295+
</plugins>
296+
</build>
297+
<reporting>
298+
<plugins>
299+
<!-- Required for reporting -->
300+
<plugin>
301+
<groupId>org.apache.maven.plugins</groupId>
302+
<artifactId>maven-jxr-plugin</artifactId>
303+
<version>3.4.0</version>
304+
</plugin>
305+
</plugins>
306+
</reporting>
307+
</profile>
268308
</profiles>
269309
</project>

0 commit comments

Comments
 (0)