I want to have a way to run maven so that it will:
- start a WildFly server instance in standalone mode (
wildfly:run
) - deploy the hsqldb driver
- add a datasource
- deploy the application
The problem is that:
wildfly:run
blocks so no other maven goals can be executed- the server instance must be running before it can be configured or an app can be deployed (daaa)
A possible work around that comes to my mind is:
wildfly:start
- configure the server and deploy the app
- block until the user presses CTRL-C, is there a maven plugin that does that?