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-commons-clam.git
commit 9d39716e8d5c54f5cdaa612ce98bb0b372d36a89 Author: Oliver Lietz <[email protected]> AuthorDate: Mon Aug 16 15:02:33 2021 +0200 SLING-10734 Enable code checks with Checkstyle --- pom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pom.xml b/pom.xml index 4d79f3d..5114b00 100644 --- a/pom.xml +++ b/pom.xml @@ -82,6 +82,34 @@ </systemPropertyVariables> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>3.1.2</version> + <dependencies> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + <version>8.45.1</version> + </dependency> + <dependency> + <groupId>de.bildschirmarbeiter</groupId> + <artifactId>checkstyle</artifactId> + <version>2</version> + </dependency> + </dependencies> + <configuration> + <configLocation>checks.xml</configLocation> + </configuration> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build>
