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

Default excludes do not ignore .git/ repository

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: maven
    • Labels:
      None
    • Environment:
      Windows 7, Maven 3.0.4, Oracle JDK 1.7.0_11, Eclipse

      Description

      When running the RAT 0.8 maven plugin from command line (no POM entry for the plugin) in a Eclipse+Maven project which is checked out from .git/ the plugin will not by default exclude the repository dotdir.

      C:\ws\proj>\ws\apache-maven-3.0.4\bin\mvn -s ..\empty.xml org.apache.rat:apache-rat-plugin:check
      ...
      [INFO] — apache-rat-plugin:0.8:check (default-cli) @ et-otp —
      [INFO] No excludes
      ...

      The excludes should eighter be contained in the eclipse defaults or have its own dotfile or scm category. A workaround would be to specify the excludes, unfortunatelly there seems to be no expression associated with the exclude property of the mojo.

        Attachments

          Activity

            People

            • Assignee:
              robertburrelldonkin Robert Burrell Donkin
              Reporter:
              b.eckenfels Bernd Eckenfels
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: