Author: tilman
Date: Sun Aug 18 12:59:24 2024
New Revision: 1919993
URL: http://svn.apache.org/viewvc?rev=1919993&view=rev
Log:
PDFBOX-5869: expand checkstyle entry
Modified:
pdfbox/trunk/parent/pom.xml
Modified: pdfbox/trunk/parent/pom.xml
URL:
http://svn.apache.org/viewvc/pdfbox/trunk/parent/pom.xml?rev=1919993&r1=1919992&r2=1919993&view=diff
==============================================================================
--- pdfbox/trunk/parent/pom.xml (original)
+++ pdfbox/trunk/parent/pom.xml Sun Aug 18 12:59:24 2024
@@ -114,11 +114,33 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.4.0</version>
+ <!-- this one is for checkstyle:check -->
<configuration>
<skip>${skipTests}</skip>
<configLocation>checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
+
<testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
+ <failsOnError>true</failsOnError>
</configuration>
+ <!-- this one is for checkstyle in the complete build -->
+ <executions>
+ <execution>
+ <id>check</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <configuration>
+ <skip>${skipTests}</skip>
+ <configLocation>checkstyle.xml</configLocation>
+ <consoleOutput>true</consoleOutput>
+
<includeTestSourceDirectory>true</includeTestSourceDirectory>
+
<testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
+ <failsOnError>true</failsOnError>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>