Skip to content

Commit

Permalink
Bump checkstyle to 8.44 (from 8.29)
Browse files Browse the repository at this point in the history
Related issue: logfellow#547
  • Loading branch information
brenuart committed Jul 5, 2021
1 parent 93d5731 commit fcba906
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>

<checkstyle.version>8.44</checkstyle.version>
</properties>

<licenses>
Expand Down Expand Up @@ -363,12 +365,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<configuration>
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
<logViolationsToConsole>true</logViolationsToConsole>
<failOnViolation>true</failOnViolation>
</configuration>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -404,6 +400,27 @@
</configuration>
</plugin>

<!-- Configure checkstyle with sensible defaults for this project so it can be
executed standalone from the CLI as follows:
mvn checkstyle:check
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<configuration>
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
</configuration>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
</plugin>

<!-- This plugin's configuration is used to store Eclipse m2e settings only.
It has no influence on the Maven build itself.
-->
Expand Down

0 comments on commit fcba906

Please sign in to comment.