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
  • generate javadoc
  • grab all latest versions of all declared depencencies 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 instalator 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 server first using maven as described earlier. You should also have git, python2, docutils and LaTeX distribution installed (please see src/main/izpack/README.txt for details).