Java Reference
In-Depth Information
At this point, you must be familiar with building and deploying your Maven applications
using Eclipse or a shell. Assuming that you are managing your application from a shell,
start by building up the project using the following:
mvn package
Then, publish it using the WildFly Maven plugin, as we did in the previous chapter.
If the WildFly server is started, you can execute the following command:
mvn wildfly:deploy
If the WildFly server is not started, you can execute the following command and then the
WildFly Maven plugin will automatically start an instance:
mvn wildfly:run
The application will be available at http://localhost:8080/ticket-agency-
cdi .
Then, to do this with a unique command, you can execute the following:
mvn clean package wildfly:deploy
After so much work, you will be pleased to have your application running on your
Search WWH ::

Custom Search