add @SuppressWarnings opportunity, bump checkstyle version (#10)

This commit is contained in:
Anatoly Karlov 2021-03-11 19:49:23 +07:00 committed by GitHub
parent 20547cdee0
commit 98461646cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
pom.xml
View File

@ -9,7 +9,7 @@
<packaging>pom</packaging>
<groupId>com.rbkmoney</groupId>
<artifactId>service-parent-pom</artifactId>
<version>1.0.6</version>
<version>1.0.7</version>
<description>RBKmoney spring starter parent</description>
<name>RBKmoney spring starter parent</name>
<url>https://github.com/rbkmoney/service-parent-pom</url>
@ -45,7 +45,7 @@
<pubStagingRepoId>ossrh</pubStagingRepoId>
<pubStagingRepo>https://oss.sonatype.org/</pubStagingRepo>
<checkstyle.config.path>https://raw.githubusercontent.com/rbkmoney/java-checkstyle-config/master/conf/rbkmoney_google_checkstyle.xml</checkstyle.config.path>
<shared-resources.version>0.3.8</shared-resources.version>
<checkstyle.config.suppressions.path>https://raw.githubusercontent.com/rbkmoney/java-checkstyle-config/master/conf/checkstyle-suppressions.xml</checkstyle.config.suppressions.path>
<dockerfile.base.service.tag>57e26d8ee999d7b0b50248c22afc63e6f926d276</dockerfile.base.service.tag>
</properties>
@ -256,6 +256,13 @@
<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.41</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>validate</id>
@ -267,6 +274,7 @@
<consoleOutput>true</consoleOutput>
<violationSeverity>warning</violationSeverity>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<suppressionsLocation>${checkstyle.config.suppressions.path}</suppressionsLocation>
</configuration>
<goals>
<goal>check</goal>