-
Notifications
You must be signed in to change notification settings - Fork 1
Build apiGrove from source
This tutorial demonstrates how to build apiGrove installer from source at the command line
Warning : You mustn't build ApiGrove on the E3 running machine.
Please ensure the following prerequites are met on the build host
- git is installed.
- maven 3.0.3+
- internet connectivity
Unless otherwise stated all tutorials commands are run from your build host.
As an anonymous developer:
git clone git://github.com/apigrove/apigrove.git
This will create a new directory named: apigrove
Read and accept the license and Download 6u32 architecture appropriate rpm bin to ./tools
e.g for 64 bit target host download http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-x64-rpm.bin and save it as ./tools/x64-6u32-linux-x64-rpm.bin, for 32 bit save it as i586-6u32-linux-i586-rpm.bin
Modify ./scripts/variables.sh if a newer version of the Oracle JDK is in use.
If it is the first time you use maven on your computer, you can simply manually create {user.home}/.m2 directory and go to the next step Copy ./maven/settings.xml.
mkdir –p ~/.m2/backup
mv ~/.m2/* ~/.m2/backup
cp ./maven/settings.xml ~/.m2/
cd ./exposure-engine/
mvn clean compile
cd ../
mvn clean install -f pom-assembly.xml -P build-modules,assembly
Once the build is complete, the installer can be found under target/server-side.
Please see the apigrove installation guide for install directions. Review the prerequisites and system changes the install makes before attempting to install the build on your host.