When developing software, it can be useful to be able to deploy to a running application server immediately when a build has completed, To perform this action with JBoss AS and Maven required use of the
To deploy to JBoss,
jboss-as:deploytarget from Maven
<plugin> <groupId>org.jboss.as.plugins</groupId> <artifactId>jboss-as-maven-plugin</artifactId> <version>7.0.1.Final</version> <executions> <execution> <phase>package</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin>
At Develop In Java, we've been a part of the Java community for over 10 years. If there's anything you'd like us to cover, just ask !