Building Commons Collections

Commons Collections uses Maven 2 as its primary build system, however an Ant build is also available.

You may also be interested in the v3.2.1 release notes .

Maven 2 Goals

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

  • mvn clean - clean up
  • mvn test - compile and run the unit tests
  • mvn site - create io 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

Maven 1 Goals

The following Maven 1 commands can be used to build collections:

  • maven clean - clean up
  • maven test - compile and run the unit tests
  • maven site - create io documentation
  • maven jar - build the jar
  • maven dist - Create the source and binary distributions

Ant Goals

The following Ant commands can be used to build collections:

  • 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