Building JBoss EAP 6, or something similar...
As I'm not able to build JBoss EAP 6, I've made a script who can download JBoss EAP 6's source code, download it's Maven repository, patch the repository and launch the build.
The result won't be a JBoss EAP 6 binary but something with a few differences.
You can get the build script with git or wget.
If you want to run the script :
git clone git://github.com/hasalex/eap-build.git
cd eap-build
./build-eap.sh
By default, it builds EAP 6.1.1. You can build other versions by passing the number to the build :
./build-eap.sh 6.0.1
If you don't want to use git, download the archive, unzip it and run the main script :
wget https://github.com/hasalex/eap-build/archive/master.zip
unzip master.zip
cd eap-build-master
./build-eap.sh
For the moment, it supports EAP 6.0.1, 6.1.0 and 6.1.0.
The script is in bash. It should run on almost all bash-compatible systems. You have to install wget, unzip and java (JDK) first.
It has been tested on the following systems :
- MacOS X 10.7
- CentOS 6.4 after "yum install wget unzip java-1.6.0-openjdk java-1.6.0-openjdk-devel"
- Ubuntu 12.04 after "apt-get install openjdk-6-jdk"