-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathmaven-version-rules.xml
38 lines (38 loc) · 1.97 KB
/
maven-version-rules.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<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>
<!-- Exclude milestones, release candidates, alphas, and betas-->
<ignoreVersion type="regex">.*[\.-](?i)([M|alpha|beta|rc]).*</ignoreVersion>
<!-- Exclude milestones, release candidates, alphas, and betas, and Java7 qualifiers -->
<ignoreVersion type="regex">.*\.jre[6-7]</ignoreVersion>
</ignoreVersions>
<rules>
<!-- Pin logback version to v1.3.x (v1.4.0+ requires Java11) -->
<rule groupId="ch.qos.logback" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">1\.[4-9]\..*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Pin checkstyle version to pre-v10 (v10 is requires Java11) -->
<rule groupId="com.puppycrawl.tools" artifactId="checkstyle" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">10\..*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Pin testng version to 7.5.x (v7.6+ requires Java11) -->
<rule groupId="org.testng" artifactId="testng" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">7\.[6-9].*</ignoreVersion>
<ignoreVersion type="regex">7\.10\..*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Pin git-commit-id-plugin version to final 4.x release version (v5+ requires Java11 -->
<rule groupId="pl.project13.maven" artifactId="git-commit-id-plugin">
<ignoreVersions>
<ignoreVersion type="regex">4\.9\.9</ignoreVersion>
</ignoreVersions>
</rule>
</rules>
</ruleset>