On 07/22/2011 02:06 PM, Vlad Tatavu wrote:
> Do u pass in any exception instance when u call buildContext.addMessage() ?

No. There is no exception to throw. The JavaScript compiler which I use
internally (Closure Compiler) only returns a list of error messages. I
call addMessage for each of these error messages (With null for the
cause parameter) and if the list has at least one entry I throw a single
MojoFailureException to tell Maven that the build failed.

-- 
Bye, K <http://www.ailis.de/~k/>
[A735 47EC D87B 1F15 C1E9 53D3 AA03 6173 A723 E391]
(Finger [email protected] to get public key)
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to