maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Farinacci <>
Subject custom extension problem, error mode enablement
Date Wed, 23 Jan 2013 14:31:47 GMT

I'm seeing some odd behavior with a custom Apache Maven extension
intended to force on error message mode (-e). The extension can be
found here

The extension loads fine, and I see the log message found in the
extension, but it doesn't actually enable error message mode! I verify
error message mode is not enabled via the extension by causing an
error in a project, e.g. dependency on junit:junit:666, and observing
the difference with and without -e passed to mvn.

Would someone please tell me the magic incantation to programmatically
get error message mode enabled? It appears that setting
MavenExecutionRequest.setShowErrors(true) should do the trick, but
perhaps this is read once and never again, which occurs before the
extension gets loaded?

Any help is appreciated,

There are 10 types of people in this world, those
that can read binary and those that can not.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message