Maven Findbugs error

Maven Findbugs error


When you update your java version from 1.7 to 1.8 and if you are using findbugs in your pom You may see following error while running the build.


[ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:2.5.3:findbugs (findbugs) on project : Execution findbugs of goal org.codehaus.mojo:findbugs-maven-plugin::findbugs failed: Java returned: 1 -> [Help 1]

This is due to the mismatch of recent upgrade to java (1.8) and findbugs version.

You will have to upgrade (start using) FindBugs verion 3.0.0 and above. Any findbugs version below 3.0.0 will not work with java 1.8. 

Comments

Popular posts from this blog

Colour formatting - Jenkins Console

Manage Docker images on local disk

How to migrate Parent pom from maven to gradle