Maven build doesn't fail even when maven plugin fails to start broker
---------------------------------------------------------------------

                 Key: AMQ-1224
                 URL: https://issues.apache.org/activemq/browse/AMQ-1224
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 4.2.0
            Reporter: Tim Morrow
            Priority: Minor


Original post here: 
http://www.nabble.com/Maven-build-doesn%27t-fail-even-when-maven-plugin-fails-to-start-broker-tf3537412s2354.html

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. 

Reproduce by simply starting something on port 61616 then trying to run the 
broker via the maven plugin.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to