Skip to content

Commit

Permalink
PDFBOX-5869: expand checkstyle entry
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1919993 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Aug 18, 2024
1 parent 23cb508 commit 43811b2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 43811b2

Please sign in to comment.