Skip to content

Instantly share code, notes, and snippets.

@jahe
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jahe/792608c83068bf68315e to your computer and use it in GitHub Desktop.
Save jahe/792608c83068bf68315e to your computer and use it in GitHub Desktop.
Wildfly Installation with Maven Cheatsheet
# Install WildFly 8.2.0 Final to /usr/local/opt/wildfly-as/libexec
brew install wildfly-as
# Add environment variables to ~/.bash_profile
export JBOSS_HOME=/usr/local/opt/wildfly-as/libexec
export PATH=${PATH}:${JBOSS_HOME}/bin
# Start WildFly on Port 8080 and 9990
standalone.sh
# Create application structure by Maven archetype
mvn archetype:generate
-DarchetypeArtifactId=wildfly-javaee7-webapp-blank-archetype
-DarchetypeGroupId=org.wildfly.archetype
-DarchetypeVersion=8.2.0.Final
-DarchetypeRepository=http://repo1.maven.org/maven2
# Deploy application with Maven plugin
mvn package wildfly:deploy
# Undeploy application with Maven plugin
mvn package wildfly:undeploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment