Last active
December 18, 2015 21:59
-
-
Save hasalex/5851579 to your computer and use it in GitHub Desktop.
Bash script for building WildFly AS 8.0.0 Alpha2 : bash <(curl -s https://raw.github.com/gist/5851579)
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
# Building WildFly AS 8.0.0.Alpha2 | |
wget https://github.com/wildfly/wildfly/archive/8.0.0.Alpha2.tar.gz | |
tar -xf 8.0.0.Alpha2.tar.gz | |
cd wildfly-8.0.0.Alpha2 | |
./build.sh -DskipTests -T1C -Drelease=true # -Drelease=true creates the distribution archives | |
# -DskipTests can be omitted but build would be much longer | |
# -T1C launches one build thread per processor ; it should be used only when -DskipTests is on | |
# Copy the binaries | |
cp -R build/target/wildfly-8.0.0.Alpha2 /opt/java/ | |
# Copy the archive | |
cp dist/target/wildfly-8.0.0.Alpha2.zip ~/archives/ |
The script is working for Alpha3 and Alpha4 too. Just change all the "Alpha2" text portions to "Alpha4".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to use Apache Maven 3.1-alpha1 (living on the edge) you might add -Dversion.enforcer.plugin=1.3