Skip to content

Commit

Permalink
[MSHARED-1151] Fix checkstyle configuration
Browse files Browse the repository at this point in the history
 * similar fix has been applied directly to the parent (or more
   precisely its parent, the top-level 'maven-parent'). However,
   those changes are not yet released, so this replicates them
   and should be removed once upgrading to any newer parent.
  • Loading branch information
psiroky committed Dec 9, 2022
1 parent a830371 commit 242b47b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ under the License.
<properties>
<javaVersion>8</javaVersion>
<surefire.version>2.22.2</surefire.version>
<!-- TODO: remove the checkstyle configuration override when upgrading parent to version 39 or newer -->
<checkstyle.violation.ignore>ParameterNumber,MethodLength,FileLength</checkstyle.violation.ignore>
<project.build.outputTimestamp>2022-04-05T18:45:23Z</project.build.outputTimestamp>
</properties>

Expand Down Expand Up @@ -100,6 +102,18 @@ under the License.
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<!-- TODO remove the checkstyle configuration override when upgrading parent to version 39 or newer -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>config/maven_checks_nocodestyle.xml</configLocation>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 242b47b

Please sign in to comment.