Skip to content

Instantly share code, notes, and snippets.

@steveswing
Created November 26, 2020 03:12
Show Gist options
  • Save steveswing/901a01e67dffc5a5d73103e702a143f6 to your computer and use it in GitHub Desktop.
Save steveswing/901a01e67dffc5a5d73103e702a143f6 to your computer and use it in GitHub Desktop.
version-rules.xml
<ruleset comparisonMethod="maven"
xmlns="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0 http://mojo.codehaus.org/versions-maven-plugin/xsd/rule-2.0.0.xsd">
<ignoreVersions>
<ignoreVersion type="regex">.*[Aa]lpha.*</ignoreVersion>
<ignoreVersion type="regex">.*[Bb]eta.*</ignoreVersion>
<ignoreVersion type="regex">.*M\d+$</ignoreVersion>
<ignoreVersion type="regex">.*-rc-\d+$</ignoreVersion>
<ignoreVersion type="regex">.*-b\d+$</ignoreVersion>
<ignoreVersion type="regex">.*\.pr\d+$</ignoreVersion>
</ignoreVersions>
</ruleset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment