![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
2.5.2 |
|
Assignee:
|
Garvin LeClaire
|
|
Created:
|
20/Nov/12 7:52 AM
|
|
Description:
|
The incorrect exclude file is copied and used when findbugs is used in a multi-module maven project setup where each module uses its own exclude file.
For example:
root
+- module1
+- src/main/findbugs-excludes.xml
+- module2
+- src/main/findbugs-excludes.xml |
Both modules have a findbugs plugin configuration like:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<excludeFilterFile>src/main/findbugs-excludes.xml</excludeFilterFile>
</configuration>
</plugin>
When calling mvn findbugs:findbugs from the root directory module2 will have the contents of module1's findbugs-exclude.xml in the target/findbugs-excludes.xml file instead of its own.
It works correctly when calling mvn findbugs:findbugs from the module2 directory.
The only workaround is to create unique filenames for the exclude files per module.
|
|
Project:
|
Maven 2.x FindBugs Plugin
|
|
Priority:
|
Major
|
|
Reporter:
|
Michiel Hendriks
|
|
|
|
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
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email