Overview

Commons Chain uses Maven 2 or Ant as a build system.

Chain 1.2 requires a minimum of JDK 1.3 to build, although the Maven 2 build requires JDK 1.4+

Maven 2 Goals

The following Maven 2 commands can be used to build Chain:

  • mvn clean - clean up
  • mvn test - compile and run the unit tests
  • mvn site - create the documentation
  • mvn package - build the jar
  • mvn install - build the jar and install in local maven repository
  • mvn site assembly:assembly - Create the source and binary distributions

Ant Goals

The following Ant commands can be used to build Chain:

  • ant clean - clean up
  • ant test - compile and run the unit tests
  • ant javadoc - create javadocs
  • ant jar - build the jar
  • ant dist - Create the source and binary distributions