Java Reference
In-Depth Information
So, once you have configured the JBoss plugin, your application can be deployed
automatically by entering from your project root:
mvn jboss-as:deploy
Since deployment is a repetitive task for a developer, it could be convenient to ex-
ecute this operation from within the Eclipse environment. All you need is to create
a new
Run Configuration
setting from the upper menu by navigating to
Run
|
Run
Configurations
.
Enter the project's base directory (hint—the
Browse workspace
utility will help you
to pick up the project from your project list) and type your Maven goal into the
Goals
textbox:
Once done, click on
Apply
to save your configuration and then click on
Run
to ex-
ecute the deployment of the application. The Maven plugins will activate and, once