[
http://jira.codehaus.org/browse/MFINDBUGS-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Garvin LeClaire closed MFINDBUGS-126.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.3.2
Please use 2.3.2-SNAPSHOT WITH MAVEN 3
> org.codehaus.mojo.findbugs.FindbugsReportGenerator(org.codehaus.doxia.module.xhtml.XhtmlSink
> --------------------------------------------------------------------------------------------
>
> Key: MFINDBUGS-126
> URL: http://jira.codehaus.org/browse/MFINDBUGS-126
> Project: Maven 2.x FindBugs Plugin
> Issue Type: Bug
> Affects Versions: 2.3.1
> Environment: mac os 10.6
> Reporter: Gabriele Kahlout
> Priority: Blocker
> Fix For: 2.3.2
>
> Attachments: anntest.zip
>
>
> Attached project to reproduce.
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <version>3.0-beta-3</version>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-jar-plugin</artifactId>
> <version>2.3.1</version>
> <configuration>
> <useDefaultManifestFile>true</useDefaultManifestFile>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>findbugs-maven-plugin</artifactId>
> <version>2.3.1</version>
> <configuration>
> <effort>Max</effort>
> <threshold>Low</threshold>
> <xmlOutput>true</xmlOutput>
> <debug>true</debug>
> </configuration>
> <executions>
> <execution>
> <goals>
> <goal>check</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> cd C:\Users\kahloutg\ws\anntest; "JAVA_HOME=C:\\Program
> Files\\Java\\jdk1.6.0_22" "\"C:\\Program Files\\NetBeans Dev
> 201012060001\\java\\maven\\bin\\mvn.bat\"" clean install
> Scanning for projects...
>
> ------------------------------------------------------------------------
> Building anntest 1.0-SNAPSHOT
> ------------------------------------------------------------------------
> [clean:clean]
> Deleting C:\Users\kahloutg\ws\anntest\target
> [resources:resources]
> Using 'UTF-8' encoding to copy filtered resources.
> Copying 0 resource
> [compiler:compile]
> Compiling 2 source files to C:\Users\kahloutg\ws\anntest\target\classes
> [resources:testResources]
> Using 'UTF-8' encoding to copy filtered resources.
> skip non existing resourceDirectory
> C:\Users\kahloutg\ws\anntest\src\test\resources
> [compiler:testCompile]
> Compiling 1 source file to C:\Users\kahloutg\ws\anntest\target\test-classes
> [surefire:test]
> Surefire report directory:
> C:\Users\kahloutg\ws\anntest\target\surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running com.mycompany.anntest.AppTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
> Results :
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> [jar:jar]
> Building jar: C:\Users\kahloutg\ws\anntest\target\anntest-1.0-SNAPSHOT.jar
> >>> findbugs-maven-plugin:2.3.1:check (default) @ anntest >>>
> >>> findbugs-maven-plugin:2.3.1:findbugs (findbugs) @ anntest >>>
> [resources:resources]
> Using 'UTF-8' encoding to copy filtered resources.
> Copying 0 resource
> [compiler:compile]
> Nothing to compile - all classes are up to date
> <<< findbugs-maven-plugin:2.3.1:findbugs (findbugs) @ anntest <<<
> [findbugs:findbugs]
> Locale is en
> [java] Scanning archives (0 / 52)Scanning archives (1 / 52)Scanning
> archives (2 / 52)Scanning archives (3 / 52)Scanning archives (4 / 52)Scanning
> archives (5 / 52)Scanning archives (6 / 52)Scanning archives (7 / 52)Scanning
> archives (8 / 52)Scanning archives (9 / 52)Scanning archives (10 /
> 52)Scanning archives (11 / 52)Scanning archives (12 / 52)Scanning archives
> (13 / 52)Scanning archives (14 / 52)Scanning archives (15 / 52)Scanning
> archives (16 / 52)Scanning archives (17 / 52)Scanning archives (18 /
> 52)Scanning archives (19 / 52)Scanning archives (20 / 52)Scanning archives
> (21 / 52)Scanning archives (22 / 52)Scanning archives (23 / 52)Scanning
> archives (24 / 52)Scanning archives (25 / 52)Scanning archives (26 /
> 52)Scanning archives (27 / 52)Scanning archives (28 / 52)Scanning archives
> (29 / 52)Scanning archives (30 / 52)Scanning archives (31 / 52)Scanning
> archives (32 / 52)Scanning archives (33 / 52)Scanning archives (34 /
> 52)Scanning archives (35 / 52)Scanning archives (36 / 52)Scanning archives
> (37 / 52)Scanning archives (38 / 52)Scanning archives (39 / 52)Scanning
> archives (40 / 52)Scanning archives (41 / 52)Scanning archives (42 /
> 52)Scanning archives (43 / 52)Scanning archives (44 / 52)Scanning archives
> (45 / 52)Scanning archives (46 / 52)Scanning archives (47 / 52)Scanning
> archives (48 / 52)Scanning archives (49 / 52)Scanning archives (50 /
> 52)Scanning archives (51 / 52)Scanning archives (52 / 52)
> [java] 2 analysis passes to perform
> [java] Pass 1: Analyzing classes (0 / 14) - 00% completePass 1:
> Analyzing classes (1 / 14) - 07% completePass 1: Analyzing classes (2 / 14) -
> 14% completePass 1: Analyzing classes (3 / 14) - 21% completePass 1:
> Analyzing classes (4 / 14) - 28% completePass 1: Analyzing classes (5 / 14) -
> 35% completePass 1: Analyzing classes (6 / 14) - 42% completePass 1:
> Analyzing classes (7 / 14) - 50% completePass 1: Analyzing classes (8 / 14) -
> 57% completePass 1: Analyzing classes (9 / 14) - 64% completePass 1:
> Analyzing classes (10 / 14) - 71% completePass 1: Analyzing classes (11 / 14)
> - 78% completePass 1: Analyzing classes (12 / 14) - 85% completePass 1:
> Analyzing classes (13 / 14) - 92% completePass 1: Analyzing classes (14 / 14)
> - 100% complete
> [java] Pass 2: Analyzing classes (0 / 2) - 00% completePass 2: Analyzing
> classes (1 / 2) - 50% completePass 2: Analyzing classes (2 / 2) - 100%
> completeDone with analysis
> [java] Warnings generated: 1
> ------------------------------------------------------------------------
> BUILD FAILURE
> ------------------------------------------------------------------------
> Total time: 9.645s
> Finished at: Wed Dec 08 12:26:37 EST 2010
> Final Memory: 22M/174M
> ------------------------------------------------------------------------
> Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:2.3.1:findbugs
> (findbugs) on project anntest: An error has occurred in FindBugs Report
> report generation. Could not find matching constructor for:
> org.codehaus.mojo.findbugs.FindbugsReportGenerator(org.codehaus.doxia.module.xhtml.XhtmlSink,
> java.util.PropertyResourceBundle, java.io.File,
> org.apache.maven.doxia.tools.DefaultSiteTool) -> [Help 1]
> To see the full stack trace of the errors, re-run Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.
> For more information about the errors and possible solutions, please read the
> following articles:
> [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--
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