Skip to content

Commit

Permalink
Issue checkstyle#5208: override all dependecies from super-pom to pas…
Browse files Browse the repository at this point in the history
…s version validation
  • Loading branch information
romani authored and timurt committed Dec 19, 2017
1 parent 7ca1adc commit b1b746a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
10 changes: 0 additions & 10 deletions config/version-number-rules.xml
Expand Up @@ -17,15 +17,5 @@
<ignoreVersion type="regex">20030911</ignoreVersion>
</ignoreVersions>
</rule>
<rule groupId="org.apache.maven.plugins" artifactId="maven-release-plugin">
<ignoreVersions>
<!-- we use 2.1 version that is defined at our parent
http://central.maven.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
It is better to use same version as in parent, we have to use such parent
to use nexus-staging-maven-plugin to deploy maven central
-->
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
</rules>
</ruleset>
19 changes: 19 additions & 0 deletions pom.xml
Expand Up @@ -346,6 +346,25 @@
<build>
<pluginManagement>
<plugins>
<!-- from super-pom BEGIN -->
<!-- we need to override just make "mvn versions:plugin-updates-report" see no old versions -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<!-- from super-pom END -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down

0 comments on commit b1b746a

Please sign in to comment.