Maven Plugin: Advanced

Starting applications

If you want to start the application without maven waiting for it to exit, use the wildfly-swarm:start goal

Starting multiple applications at once

You can start multiple swarm applications at once using the wildfly-swarm:multistart goal (this is useful for integration testing a set of applications). Each application is specified as a <process> containing an optional <groupId>, an <artifactId>, and an optional <executionId> (useful if you need to launch multiple copies of the same application). Each <process> can also include any configuration that is valid for the wildfly-swarm:start goal.



Stopping applications

If you have started any applications with either wildfly-swarm:start or wildfly-swarm:multistart, they can be stopped by executing the wildfly-swarm:stop goal.