These instructions describe how to build Weasis directly from the Git repository on any platform. For building Weasis from an IDE, see Plug-in Development Guidelines.
Prerequisites
Maven 3 or higher (http://maven.apache.org/guides/index.html)
Git (or directly download source from github)
Getting the Source
To clone the repository, first install GIT and either clone using a graphical GIT client or directly from the command line using the command:
git clone https://github.com/nroduit/Weasis.git
This command will copy the current development code (the "master" branch) into a local directory named Weasis.
Note: Sources can also be browsed online or download as a zip file.
The trunk is not a stable version and snapshot version is not retained in cache for the web distribution (it means the files will be every times downloaded)
Check out a tag version to build a stable version, see tag list.
git checkout <TAG_NAME>
Building all Plug-ins
Go in the Weasis directory, Compile and install all the plug-ins in the local Maven repository
mvn clean install
Building Weasis Distributions
Requires to install all the plug-ins in the local Maven repository (see above Building all Plug-ins).
cd weasis-distributions mvn clean package
Add the "-Dportable=true" option for building the portable distribution (cdrom or removable device).
mvn clean package -Dportable=true
The distribution files are located in:
target/web_dist/
target/portable-dist/