You should be able to write your own enforcer rule to do this.
However, to me, it sounds like the wrong way to do this. Being forced to
add the enforcer-plugin to a project's build to catch errors in a plugin is
not "convention over configuration" in my mind. A plugin should catch
errors related to what it is doing.

/Anders


On Wed, Sep 4, 2013 at 11:43 PM, Maven User <[email protected]> wrote:

> Hi all -
>
> Is there a way to fail the build if an arbitrary string shows up in the
> log?
>
> We have quite the cocktail of plugins and instead of editing each one
> to catch different problems, it'd be cooler to have an enforcer plugin
> run at the VERY end and fail if the build has previously logged a
> particular regex.
>
> Is there a way to do this?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to