Menu

#15 [findbugs] Make maven:check-source task fail upon violation

open
nobody
findbugs (9)
5
2006-06-24
2005-10-12
Kaj Hejer
No

It would be great if the maven-findbugs-plugin had a
property like maven.checkstyle.fail.on.violation that
would make the maven:check-source task fail upon a
violation and stop the build process.

The default should be false, but those of us who want
this feature could set this property to true.

Discussion

  • Carlos Sanchez

    Carlos Sanchez - 2005-10-19
    • summary: Make maven:check-source task fail upon a violation --> [findbugs] Make maven:check-source task fail upon violation
     
  • Jeff Jensen

    Jeff Jensen - 2006-05-02
    • labels: --> 559368
     
  • Jeff Jensen

    Jeff Jensen - 2006-05-02
    • labels: 559368 -->
     
  • Jeff Jensen

    Jeff Jensen - 2006-06-24

    Logged In: YES
    user_id=498804

    Stashing my notes here: This requires using the FindBugs
    "warningsProperty" in the Ant task call, changing
    plugin.jelly to check the property after the Ant call runs,
    and failing the build if the user sets a new property (e.g.
    maven.findbugs.failOnWarnings) to true.
    (Please beat me to it and provide a patch ;-)

     
  • Jeff Jensen

    Jeff Jensen - 2006-06-24
    • labels: --> findbugs
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.