Created
July 2, 2022 09:55
-
-
Save manojahi/a1e10bb70db880ae00a8da2363ca74d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-checkstyle-plugin</artifactId> | |
<version>3.1.2</version> | |
<dependencies> | |
<!-- sets the desired version of checkstyle --> | |
<dependency> | |
<groupId>com.puppycrawl.tools</groupId> | |
<artifactId>checkstyle</artifactId> | |
<version>8.42</version> | |
</dependency> | |
</dependencies> | |
<configuration> | |
<configLocation>checkstyle.xml</configLocation> | |
<includeTestSourceDirectory>true</includeTestSourceDirectory> | |
<consoleOutput>true</consoleOutput> | |
<failOnViolation>true</failOnViolation> | |
<logViolationsToConsole>true</logViolationsToConsole> | |
<violationSeverity>warning</violationSeverity> | |
<linkXRef>false</linkXRef> | |
</configuration> | |
<executions> | |
<execution> | |
<id>checkstyle_validation</id> | |
<phase>validate</phase> | |
<goals> | |
<goal>check</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment