Skip to content

Commit f257625

Browse files
committed
tell the versions-update-plugin to ignore alpha and M versions
1 parent 78e192a commit f257625

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,16 +189,27 @@
189189
<plugins>
190190
<!-- Override oss parent downgrades -->
191191
<plugin>
192+
<groupId>org.apache.maven.plugins</groupId>
192193
<artifactId>maven-enforcer-plugin</artifactId>
193194
<version>3.4.1</version>
194195
</plugin>
195196
<plugin>
197+
<groupId>org.apache.maven.plugins</groupId>
196198
<artifactId>maven-release-plugin</artifactId>
197199
<version>3.0.1</version>
198200
<configuration>
199201
<arguments>-Pgpg</arguments>
200202
</configuration>
201203
</plugin>
204+
<plugin>
205+
<groupId>org.codehaus.mojo</groupId>
206+
<artifactId>versions-maven-plugin</artifactId>
207+
<version>2.16.2</version>
208+
<configuration>
209+
<!-- https://www.mojohaus.org/versions/versions-maven-plugin/examples/display-dependency-updates.html -->
210+
<ignoredVersions>.*-M.*,.*-alpha.*</ignoredVersions>
211+
</configuration>
212+
</plugin>
202213

203214
<!-- if you would like to run the git-commit-id-maven-plugin for your build, you could also include it here instead using a profile (see README.md) -->
204215
<!-- Setting built-in java compiler properties -->

0 commit comments

Comments
 (0)