This is an automated email from the ASF dual-hosted git repository. olli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-clam.git
commit 996ddd2cb51b194fec9c0859f64de80c1353bbdb Author: Oliver Lietz <[email protected]> AuthorDate: Wed Oct 27 23:13:14 2021 +0200 SLING-10892 Enable code checks with PMD --- pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pom.xml b/pom.xml index f12509d..e632c62 100644 --- a/pom.xml +++ b/pom.xml @@ -110,6 +110,22 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <version>3.15.0</version> + <configuration> + <targetJdk>${sling.java.version}</targetJdk> + </configuration> + <executions> + <execution> + <phase>process-classes</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build>
