[ 
http://jira.codehaus.org/browse/MFINDBUGS-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg moved MOJO-562 to MFINDBUGS-21:
-----------------------------------------------

    Component/s:     (was: findbugs)
            Key: MFINDBUGS-21  (was: MOJO-562)
        Project: Maven 2.x FindBugs Plugin  (was: Mojo)

> outputDirectory skip with XML report
> ------------------------------------
>
>                 Key: MFINDBUGS-21
>                 URL: http://jira.codehaus.org/browse/MFINDBUGS-21
>             Project: Maven 2.x FindBugs Plugin
>          Issue Type: New Feature
>         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

Reply via email to