Building Server and Generating Packages

After cloning tigase-server repository:

git clone https://repository.tigase.org/git/tigase-server.git
cd tigase-server

You compile server with maven using project distribution profile (dist):

mvn -Pdist -f modules/master/pom.xml clean install

This will:

  • compile server binaries
  • generate javadoc documentation
  • grab all latest versions of all declared dependencies and put them in jars/ directory
  • create both types of distribution packages (-dist and -dist-max) and place them in pack/ directory

In order to create installer packages you have to execute two shell scripts:

./scripts/installer-prepare.sh
./scripts/installer-generate.sh

However, in order for them to succeed you have to build the server first using maven as described earlier. You should also have git, python2, docutils and LaTeX distributions installed (please see src/main/izpack/README.txt for details).