creadur-dev mailing list archives

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

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

Robert Burrell Donkin commented on RAT-126:
-------------------------------------------

Executing a freshly built 0.9-SNAPSHOT from the command line also indicates that there are
no excludes:

$ mvn org.apache.rat:apache-rat-plugin:0.9-SNAPSHOT:check
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building some-project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- apache-rat-plugin:0.9-SNAPSHOT:check (default-cli) @ some-project ---
[INFO] No excludes
[INFO] Rat check: Summary of files. Unapproved: 3 unknown: 3 generated: 0 approved: 0 licence.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.673s
[INFO] Finished at: Tue Feb 26 20:38:26 GMT 2013
[INFO] Final Memory: 6M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.9-SNAPSHOT:check (default-cli)
on project some-project: Too many files with unapproved license: 3 See RAT report in: /opt/development/2012/kata/temp/some-project/target/rat.txt
-> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

                
> 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