[
http://jira.codehaus.org/browse/MOJO-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204905#action_204905
]
Dan Tran commented on MOJO-1486:
--------------------------------
you mean to exclude .svn? I think it is already in the exclusion list
Got a sample project to produce this?
-Dan
> VCS-internal files/directories aren't excluded by default
> ---------------------------------------------------------
>
> Key: MOJO-1486
> URL: http://jira.codehaus.org/browse/MOJO-1486
> Project: Mojo
> Issue Type: Improvement
> Components: native
> Reporter: Barnabas Bodnar
> Priority: Minor
>
> A filter-based source-definition without explicit inclusions considers also
> the VCS-internal files (in directories like ".svn" or "CVS") unless they are
> excluded explicitly.
> For example,
> <pre>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>native-maven-plugin</artifactId>
> <configuration>
> <sources>
> <source>
> <directory>src/main/native</directory>
> </source>
> </sources>
> </configuration>
> </plugin>
> </plugins>
> </pre>
> leads to attempting to compile files in the directory .svn and
> subdirectories, if the project-files are part of a SVN local copy. Although
> this can be avoided through an explicit exclusion like
> <pre>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>native-maven-plugin</artifactId>
> <configuration>
> <sources>
> <source>
> <directory>src/main/native</directory>
> <excludes>
> <exclude>**/.svn/**/*</exclude>
> </excludes>
> </source>
> </sources>
> </configuration>
> </plugin>
> </plugins>
> </pre>
> it would find to be reasonable to exclude such directories automatically.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email