How to compile Aozan

To build Aozan, you need a Java Development Kit (JDK) greater or equal to 11 and Maven 3.6.x.

The following command lines will work whatever your operating system is and whatever the "$" character representing the command line prompt is.

To compile Aozan, the default memory amount allocated by Maven is not enough. Your have to set the environment variable MAVEN_OPTS to do allow a greater memory allocation. To change this variable using bash, use the built-in command export. Something like 512MiB or 1GiB is a good amount of memory of Maven:

$ export MAVEN_OPTS=-Xmx1024m

Update: The default memory amount allocated by the last version of Maven seems to be enough to build Aozan.

First set your current directory to the base directory of Aozan.

To build both source and binary distribution, type:

$ mvn install

To generate documentation, type:

$ mvn site

To generate both distributions and documentation, type:

$ mvn site install

To clean the build directories, type:

$ mvn clean