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-scripting-freemarker.git
commit 4d9af78fe56a2e8a9b2fa8c7d96d9411d00ed4c4 Author: Oliver Lietz <[email protected]> AuthorDate: Thu Nov 3 20:49:05 2022 +0100 SLING-11635 Enable code checks with PMD --- pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pom.xml b/pom.xml index e90e5ec..d9d9765 100644 --- a/pom.xml +++ b/pom.xml @@ -102,6 +102,23 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <version>3.19.0</version> + <configuration> + <targetJdk>${sling.java.version}</targetJdk> + <excludeFromFailureFile>pmd-exclude.properties</excludeFromFailureFile> + </configuration> + <executions> + <execution> + <phase>process-classes</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build>
