Skip to content

Instantly share code, notes, and snippets.

@ggdio
Last active December 24, 2015 08:39
Show Gist options
  • Save ggdio/6771835 to your computer and use it in GitHub Desktop.
Save ggdio/6771835 to your computer and use it in GitHub Desktop.
POM.xml configuration to auto-deploy war, using maven, to JBoss AS Run Command: jboss-as:deploy
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<!-- Java EE 6 doesnt require web.xml -->
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<!-- JBoss AS plugin -->
<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>
<version>7.2.Final</version>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment