|
4 | 4 | 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"> |
5 | 5 | <ignoreVersions> |
6 | 6 | <!-- Exclude milestones, release candidates, alphas, and betas--> |
7 | | - <ignoreVersion type="regex">.*-[M|RC|alpha|beta|rc].*</ignoreVersion> |
| 7 | + <ignoreVersion type="regex">.*[\.-](?i)([M|alpha|beta|rc]).*</ignoreVersion> |
8 | 8 | <!-- Exclude milestones, release candidates, alphas, and betas, and Java7 qualifiers --> |
9 | 9 | <ignoreVersion type="regex">.*\.jre[6-7]</ignoreVersion> |
10 | 10 | </ignoreVersions> |
11 | 11 | <rules> |
12 | | - <!-- Pin git-commit-id-plugin version to final release version before V5 until codebase migrates to Java11 --> |
13 | | - <rule groupId="pl.project13.maven" artifactId="git-commit-id-plugin"> |
| 12 | + <!-- Pin logback version to v1.3.x (v1.4.0+ requires Java11) --> |
| 13 | + <rule groupId="ch.qos.logback" comparisonMethod="maven"> |
14 | 14 | <ignoreVersions> |
15 | | - <ignoreVersion type="regex">4\.9\.9</ignoreVersion> |
| 15 | + <ignoreVersion type="regex">1\.4\..*</ignoreVersion> |
16 | 16 | </ignoreVersions> |
17 | 17 | </rule> |
18 | | - <!-- Pin testng version to pre-V7 --> |
19 | | - <rule groupId="org.testng" artifactId="testng"> |
| 18 | + <!-- Pin checkstyle version to pre-v10 (v10 is requires Java11) --> |
| 19 | + <rule groupId="com.puppycrawl.tools" artifactId="checkstyle" comparisonMethod="maven"> |
20 | 20 | <ignoreVersions> |
21 | | - <ignoreVersion type="regex">7\..*</ignoreVersion> |
| 21 | + <ignoreVersion type="regex">10\..*</ignoreVersion> |
22 | 22 | </ignoreVersions> |
23 | 23 | </rule> |
24 | | - <!-- Ignore logback version with groovyless suffix --> |
25 | | - <rule groupId="ch.qos.logback"> |
| 24 | + <!-- Pin testng version to 7.5.x (v7.6+ requires Java11) --> |
| 25 | + <rule groupId="org.testng" artifactId="testng" comparisonMethod="maven"> |
26 | 26 | <ignoreVersions> |
27 | | - <ignoreVersion type="regex">.*-groovyless</ignoreVersion> |
| 27 | + <ignoreVersion type="regex">7\.[6-9].*</ignoreVersion> |
| 28 | + </ignoreVersions> |
| 29 | + </rule> |
| 30 | + <!-- Pin git-commit-id-plugin version to final 4.x release version (v5+ requires Java11 --> |
| 31 | + <rule groupId="pl.project13.maven" artifactId="git-commit-id-plugin"> |
| 32 | + <ignoreVersions> |
| 33 | + <ignoreVersion type="regex">4\.9\.9</ignoreVersion> |
28 | 34 | </ignoreVersions> |
29 | 35 | </rule> |
30 | 36 | </rules> |
|
0 commit comments