title: Maven command to run activemq before intergation tests
body: <p>I need to run ActiveMQ in my maven clean install, so that it starts up activemq and then runs my tests. I have included the plugin in pom.xml and added the mq config file for configuring mq details. It runs successfully and all test pass when I run activeMq on one console and run maven clean install on others (2 separate commands on 2 separate consoles). But is there a way I can run activemq and clean install both with 1 command on the same console? Basically I wish that when I do <strong>mvn clean test install</strong>, it should automatically fire-up mq first and then proceed with the tests...</p>
  
  <p>I have tried using commands like <strong>mvn activemq:run clean test install</strong> or <strong>mvn clean test install activemq:run</strong>. But it either does the clean install or runs the activemq... </p>
  
  <p>How do I combine these 2 commands(<strong>activemq:run</strong> and <strong>mvn clean test install</strong>)?</p>