Skip to content

Commit

Permalink
Setup config for the versions plug-in to ignore OLDER versions.
Browse files Browse the repository at this point in the history
Note these are versions that are OLDER than what we're currently using,
but they are being presented as newer (according to the Maven rules they
are, but they are not actually newer)

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
  • Loading branch information
arjantijms committed Feb 21, 2023
1 parent 4bf3d64 commit 744efcf
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions nucleus/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,32 @@
</includeOnlyProperties>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.14.2</version>
<executions>
<execution>
<id>default-cli</id>
<phase>validate</phase>
<goals>
<goal>display-dependency-updates</goal>
</goals>
<configuration>
<!--
Exclude several versions that we never want to update to since they are OLDER than
what we currently use.
Note that we actually want to specify the version per artefact, but this is currently
broken.
See https://github.com/mojohaus/versions/issues/258#issuecomment-1438149133
-->
<ignoredVersions>3.2-b..,2.5.0-b..,5.0-jdk8-rc.,20030911,10.0-b..</ignoredVersions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down

0 comments on commit 744efcf

Please sign in to comment.