Skip to content

Commit 40f0159

Browse files
committed
Add update rules to ignore pre releases
1 parent 06e2727 commit 40f0159

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Diff for: pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
<version>${tycho-version}</version>
185185
<configuration>
186186
<updateEmptyVersion>false</updateEmptyVersion>
187+
<mavenRulesUri>${project.basedir}/update-rules.xml</mavenRulesUri>
187188
</configuration>
188189
</plugin>
189190
<plugin>
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<ruleset comparisonMethod="maven"
2+
xmlns="https://www.mojohaus.org/VERSIONS/RULE/2.1.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="https://www.mojohaus.org/VERSIONS/RULE/2.1.0 https://www.mojohaus.org/versions/versions-model/xsd/rule-2.1.0.xsd">
5+
<!-- see https://www.mojohaus.org/versions/versions-maven-plugin/version-rules.html -->
6+
<ignoreVersions>
7+
<ignoreVersion type="regex">.+[-.](alpha|beta|M|RC|rc|pre.1)\d*$</ignoreVersion>
8+
</ignoreVersions>
9+
10+
</ruleset>

0 commit comments

Comments
 (0)