[ http://jira.codehaus.org/browse/MOJO-562?page=all ]
Garvin LeClaire closed MOJO-562.
--------------------------------
Resolution: Fixed
SVN version 2652
> outputDirectory skip with XML report
> ------------------------------------
>
> Key: MOJO-562
> URL: http://jira.codehaus.org/browse/MOJO-562
> Project: Mojo
> Issue Type: New Feature
> Components: findbugs
> Environment: Maven 2.0.4, findbugs-maven-plugin:1.0-SNAPSHOT
> Reporter: Rémy Sanlaville
> Attachments: FindBugsMojo-2.patch, FindBugsMojo.patch
>
>
> If you try to create an XML findbugs report, the plugin does not take into
> account the outputDirectory description.
> For example:
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>findbugs-maven-plugin</artifactId>
> <version>1.0-SNAPSHOT</version>
> <executions>
> ...
> </executions>
> <configuration>
> <reportFormat>xml</reportFormat>
>
> <outputDirectory>${project.build.directory}/findbugs</outputDirectory>
> </configuration>
> </plugin>
> >mvn findbugs:findbugs
> findbugs.xml report will be in ${project.build.directory}/ and not in
> ${project.build.directory}/findbugs
> I think I found the problem.
> Look at the initialiseFindBugs(Locale, List) method of the FindBugsMojo class.
> The plugin use the tempOutputDirectory rather than outputDirectory
> You will find in attachment my patch
> Remy
--
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