Java Reference
In-Depth Information
Building and deploying the application
Now, it is time to build your application using the
build
command, which will compile
and package your application in a web application archive (
forge-demo.war
):
[forge-demo]$ build
***SUCCESS*** Build Success
The
Maven build
command has created an artifact
forge-
demo-1.0.0-SNAPSHOT.war
in the
target
folder of your project. You can now
either manually copy the archive into the
deployments
folder of your application server
or use the
management
interfaces.
Remember that the server should have the
java:jboss/datasources/Post-
greSqlDS
data source defined!