Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-225

Maven RAT excludes do not work under windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.12
    • None
    • Client - maven
    • None
    • windows 10

    Description

      mvn apache-rat:check

      fails for projects like commons-lang and commons-compress.

      Commons lang uses this plugin configuration:

      <plugin>
              <groupId>org.apache.rat</groupId>
              <artifactId>apache-rat-plugin</artifactId>
              <configuration>
                <excludes>
                  <exclude>site-content/**</exclude>
                  <exclude>src/site/resources/.htaccess</exclude>
                  <exclude>src/site/resources/download_lang.cgi</exclude>
                  <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
                  <exclude>src/test/resources/lang-708-input.txt</exclude>
                </excludes>
              </configuration>
      </plugin>

      see https://github.com/apache/commons-lang/blob/master/pom.xml#L733

      mvn apache-rat:check

      fails and rat.txt contains:

      !????? src/site/resources/.htaccess
      !????? src/site/resources/release-notes/RELEASE-NOTES-1.0.1.txt

      I guess this is because I'm using Windows.

      Attachments

        1. apache-rat.patch
          2 kB
          Karl Heinz Marbaise

        Activity

          People

            Unassigned Unassigned
            pascalschumacher Pascal Schumacher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: