Last active
August 29, 2015 14:20
-
-
Save jahe/792608c83068bf68315e to your computer and use it in GitHub Desktop.
Wildfly Installation with Maven Cheatsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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