findbugs:check goal doesn't work with JDK 1.5.x
-----------------------------------------------

                 Key: MFINDBUGS-90
                 URL: http://jira.codehaus.org/browse/MFINDBUGS-90
             Project: Maven 2.x FindBugs Plugin
          Issue Type: Bug
    Affects Versions: 2.0.1
         Environment: Maven version: 2.0.9
Java version: 1.5.0_17
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
            Reporter: Marco Wlotzka
            Priority: Critical


Hello.

I am trying to get a working configuration for the findbugs:check goal. 
Actually it do not work with the following:
<build>
...
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>findbugs-maven-plugin</artifactId>
                                <version>2.0.1</version>
                                <configuration>
                                        <effort>Max</effort>
                                        <threshold>Low</threshold>
                                        <debug>true</debug>
                                        <failOnError>true</failOnError>
                                        <maxHeap>512</maxHeap>
                                </configuration>
                                <executions>
                                        <execution>
                                                <id>check</id>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>check</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>
...
<build>
<report>
...
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>findbugs-maven-plugin</artifactId>
                                <version>2.0.1</version>
                        </plugin>
...
</report>

mvn install
...
[INFO] [findbugs:check {execution: check}]
[INFO] Excecuting findbugs:check
[INFO]   Using maximum effort.
[INFO]   Using FindBugs Version: 1.3.8
[INFO]   Using low threshold.
[INFO]   Debugging is On
[INFO]   No bug include filter.
[INFO]   No bug exclude filter.
The following classes needed for analysis were missing:
  javax.annotation.Nonnull
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Wed Sep 23 12:15:00 CEST 2009
[INFO] Final Memory: 28M/127M
[INFO] ------------------------------------------------------------------------



-- 
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