Building the OpenSAML 2 Library
Build Basics
The OpenSAML 2 library uses the Maven2 build tool, which provides the following useful commands (among many others):
- clean - removes all the build generated content
- test - runs the available unit tests
- install - build the library and place it in to your local repository
- javadoc:javadoc - generated the Javadoc for the library and places in it the
target/site/apidocs
directory - surefire-report:report - generates an HTML report of the unit tests results and places the result in
target/site/unitTest
- checkstyle:checkstyle - generates a checktyle report and places the result in
target/site/checkstyle
- jxr:jxr - generates a source code cross-reference report and places the result in
target/site/xref
In addition there is build profile called release
used by the OpenSAML developers to create the release distributions of the libraries. You may use this but it requires that gpg be installed as it will compute and the signatures for the distribution packages.
Targeting JDK 1.4
JDK 1.4 builds are currently disabled for the moment, but will return shortly.