If the maven plugin fails to start the broker for whatever reason (e.g. there
is already a process listening on the broker port) the error is logged but
the maven build proceeds.  I would have expected the maven build to error
out.

It would appear that this is because the class that the plugin invokes
(org.apache.activemq.console.Main) sucks up all throwables.

Its not a huge deal but I'd be interested if anyone has a simple way to
detect the broker startup failure.

Thanks,

Tim

-- 
View this message in context: 
http://www.nabble.com/Maven-build-doesn%27t-fail-even-when-maven-plugin-fails-to-start-broker-tf3537412s2354.html#a9874194
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to