Maven 2.x FindBugs Plugin

failOnError not being honored

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.2, 2.3, 2.3.1
  • Fix Version/s: 2.3.2
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

2.0.1 appears to be the last version of the plugin to honor the configuration setting failOnError.

Attached is a dummy project that when you invoke "mvn findbugs:findbugs", findbugs will error, but the configuration is set to failOnError=false.

When you invoke mvn on it when using 2.0.1, findbugs will fail, but the maven build will still succeed (correct behavior).

But if you change it to use the findbugs plugin version 2.2 or 2.3 or 2.3.1, findbugs will fail, and it will cause the maven build to fail. (incorrect behavior)

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: