Skip to content

Introduce verify goal (similar to failsafe plugin)  #114

@crizzis

Description

@crizzis

Right now we can use either the spotbugs goal which performs the analysis, or the check goal which performs the analysis and fails the build if violations are detected.

It would be nice to have another goal (similar to Maven Failsafe Plugin's verify goal) which fails the build if the spotbugsXml.xml report contains violations, without invoking the spotbugs goal. This way, it would be possible to split the analysis and verification into lifecycle phases of our choosing.

One use case is running multiple code analyzers at once and only failing the build at a later stage, so that all of them have a chance to run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions