Hello,

I'm writing a Maven 1.1 plugin that is launched via an jellybean defined in plugin.jelly. While my plugin is running, I want to write info and error messages to the "Maven console" and want to cause that the build fail if certain exceptions occur.

For writing to the console, is "System.out.println(...)" the best way? Or should I use some logger, perhaps "Logger.getLogger("org.apache.maven")"?

Is there any well defined way to trigger that the build failed ("BUILD FAILED")?

Regards,
   Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to