Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Fail the maven build on arbitrary string output in the log

$
0
0
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?

Viewing all articles
Browse latest Browse all 5648

Trending Articles