creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAT-126) Default excludes do not ignore .git/ repository
Date Tue, 26 Feb 2013 22:04:15 GMT

    [ https://issues.apache.org/jira/browse/RAT-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587618#comment-13587618
] 

Bernd Eckenfels commented on RAT-126:
-------------------------------------

The fix looks good, it (suddenly?) also ignores the .git directory. BTW: I wonder if it is
better to list only ignored resources instead of the exclude patterns. Especially for the
number printed this is much more interesting.
                
> Default excludes do not ignore .git/ repository
> -----------------------------------------------
>
>                 Key: RAT-126
>                 URL: https://issues.apache.org/jira/browse/RAT-126
>             Project: Apache Rat
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 0.8
>         Environment: Windows 7, Maven 3.0.4, Oracle JDK 1.7.0_11, Eclipse
>            Reporter: Bernd Eckenfels
>            Priority: Minor
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message