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 Wed, 27 Feb 2013 21:09:13 GMT

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

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

I've committed a patch which prints those resources excluded and those included, for example

[DEBUG] Adding plexus default exclusions...
[DEBUG] Adding exclusions often needed by Maven projects...
[DEBUG] Adding exclusions often needed by projects developed in Eclipse...
[DEBUG] Adding exclusions often needed by projects developed in IDEA...
[DEBUG] Finished creating list of implicit excludes.
[INFO] 51 implicit excludes (use -debug for more details).
[DEBUG] Implicit exclude: **/*~
[DEBUG] Implicit exclude: **/#*#
[DEBUG] Implicit exclude: **/.#*
[DEBUG] Implicit exclude: **/%*%
[DEBUG] Implicit exclude: **/._*
[DEBUG] Implicit exclude: **/CVS
[DEBUG] Implicit exclude: **/CVS/**
[DEBUG] Implicit exclude: **/.cvsignore
[DEBUG] Implicit exclude: **/RCS
[DEBUG] Implicit exclude: **/RCS/**
[DEBUG] Implicit exclude: **/SCCS
[DEBUG] Implicit exclude: **/SCCS/**
[DEBUG] Implicit exclude: **/vssver.scc
[DEBUG] Implicit exclude: **/project.pj
[DEBUG] Implicit exclude: **/.svn
[DEBUG] Implicit exclude: **/.svn/**
[DEBUG] Implicit exclude: **/.arch-ids
[DEBUG] Implicit exclude: **/.arch-ids/**
[DEBUG] Implicit exclude: **/.bzr
[DEBUG] Implicit exclude: **/.bzr/**
[DEBUG] Implicit exclude: **/.MySCMServerInfo
[DEBUG] Implicit exclude: **/.DS_Store
[DEBUG] Implicit exclude: **/.metadata
[DEBUG] Implicit exclude: **/.metadata/**
[DEBUG] Implicit exclude: **/.hg
[DEBUG] Implicit exclude: **/.hg/**
[DEBUG] Implicit exclude: **/.git
[DEBUG] Implicit exclude: **/.gitignore
[DEBUG] Implicit exclude: **/.gitattributes
[DEBUG] Implicit exclude: **/.git/**
[DEBUG] Implicit exclude: **/BitKeeper
[DEBUG] Implicit exclude: **/BitKeeper/**
[DEBUG] Implicit exclude: **/ChangeSet
[DEBUG] Implicit exclude: **/ChangeSet/**
[DEBUG] Implicit exclude: **/_darcs
[DEBUG] Implicit exclude: **/_darcs/**
[DEBUG] Implicit exclude: **/.darcsrepo
[DEBUG] Implicit exclude: **/.darcsrepo/**
[DEBUG] Implicit exclude: **/-darcs-backup*
[DEBUG] Implicit exclude: **/.darcs-temp-mail
[DEBUG] Implicit exclude: target/**/*
[DEBUG] Implicit exclude: cobertura.ser
[DEBUG] Implicit exclude: release.properties
[DEBUG] Implicit exclude: pom.xml.releaseBackup
[DEBUG] Implicit exclude: .classpath
[DEBUG] Implicit exclude: .project
[DEBUG] Implicit exclude: .settings/**/*
[DEBUG] Implicit exclude: *.iml
[DEBUG] Implicit exclude: *.ipr
[DEBUG] Implicit exclude: *.iws
[DEBUG] Implicit exclude: .idea/**/*
[INFO] No excludes explicitly specified.
[DEBUG] Excluded 13 resources:
[DEBUG]  - excluded target/rat.txt
[DEBUG]  - excluded .git/info/exclude
[DEBUG]  - excluded .git/config
[DEBUG]  - excluded .git/hooks/applypatch-msg.sample
[DEBUG]  - excluded .git/hooks/pre-rebase.sample
[DEBUG]  - excluded .git/hooks/update.sample
[DEBUG]  - excluded .git/hooks/commit-msg.sample
[DEBUG]  - excluded .git/hooks/pre-commit.sample
[DEBUG]  - excluded .git/hooks/pre-applypatch.sample
[DEBUG]  - excluded .git/hooks/post-update.sample
[DEBUG]  - excluded .git/hooks/prepare-commit-msg.sample
[DEBUG]  - excluded .git/HEAD
[DEBUG]  - excluded .git/description
[INFO] 3 resources included
[DEBUG]  - included src/test/java/org/example/AppTest.java
[DEBUG]  - included src/main/java/org/example/App.java
[DEBUG]  - included pom.xml
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 3 licence.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------


                
> 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