The OpenSAML V2 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.

  • No labels