Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
iconfalse
titleTable of Contents
Table of Contents

FindBugs fails on timeout

See SONAR-1439. Findbugs fails with the following logs:

Code Block
[java] Timeout: killed the sub-process
...
[Fatal Error] :-1:-1: Premature end of file.

Add the findbugs-maven-plugin to the plugins section of the pom and configure the parameter timeout.

My project only builds with JDK 1.4

As SonarQubecan only run with JDK1.6 or higher, some configuration should be added to the pom.xml to indicate that the project requires JDK1.4:

Code Block
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <configuration>
        <source>1.4</source>
        <target>1.4</target>
    </configuration>
</plugin>