File: version-number-rules.xml

package info (click to toggle)
checkstyle 8.36.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 32,964 kB
  • sloc: java: 234,352; xml: 75,743; javascript: 258; sh: 115; sql: 6; makefile: 5
file content (42 lines) | stat: -rw-r--r-- 1,761 bytes parent folder | download
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
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         comparisonMethod="maven"
         xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0
                             https://mojo.codehaus.org/versions-maven-plugin/xsd/rule-2.0.0.xsd">

  <ignoreVersions>
    <ignoreVersion type="regex">
      .*[-_\.](alpha|Alpha|ALPHA|beta|Beta|BETA|rc|RC|M|EA)[-_\.]?[0-9]?.*
    </ignoreVersion>
  </ignoreVersions>
  <rules>
    <rule groupId="com.google.guava" artifactId="guava">
      <ignoreVersions>
        <ignoreVersion type="regex">.*-android</ignoreVersion>
      </ignoreVersions>
    </rule>
    <rule groupId="antlr" artifactId="antlr">
      <ignoreVersions>
        <!-- this is really old version before versioning become semantic -->
        <ignoreVersion type="regex">20030911</ignoreVersion>
      </ignoreVersions>
    </rule>
    <rule groupId="org.apache.maven.plugins" artifactId="maven-release-plugin">
      <ignoreVersions>
        <!-- we use 2.1 version that is defined at our parent
        http://central.maven.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
        It is better to use same version as in parent, we have to use such parent
        to use nexus-staging-maven-plugin to deploy maven central
        -->
        <ignoreVersion type="regex">.*</ignoreVersion>
      </ignoreVersions>
    </rule>
    <rule groupId="org.pitest" artifactId="pitest-maven">
      <ignoreVersions>
        <!-- till https://github.com/hcoles/pitest/issues/673 -->
        <ignoreVersion type="regex">.*</ignoreVersion>
      </ignoreVersions>
    </rule>
  </rules>
</ruleset>