Adding Maven2 instructions

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@777374 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2009-05-22 05:32:38 +00:00
parent 8127bda219
commit e91ce569e5
1 changed files with 19 additions and 12 deletions

View File

@ -9,10 +9,26 @@ The first, commons-collections.jar is the main jar used by applications.
The second, commons-collections-testframework.jar is an extension to junit The second, commons-collections-testframework.jar is an extension to junit
for testing new collection implementations and is not normally used by applications. for testing new collection implementations and is not normally used by applications.
Building from source Building from source
-------------------- =-=-=-=-=-=-=-=-=-=-
This component requires the excellent Ant utility.
Maven2
------
Collections is usually built using Maven2.
It can be found here :
http://maven.apache.org/
Once installed, the major goals are:
mvn package - build jars
mvn install - place jars in local maven repository
mvn assembly:assembly - build tar.gz/zips
Ant
---
It may also be built using Ant.
It can be found here : It can be found here :
http://ant.apache.org/ http://ant.apache.org/
@ -41,12 +57,3 @@ ant tf.jar - create the testframework jar file
ant tf.javadoc - build the testframework javadoc ant tf.javadoc - build the testframework javadoc
Maven
-----
The component can also be built using Maven. (Ant is the primary build tool.)
It can be found here :
http://maven.apache.org/
Once installed, the jars may be built with 'maven jar'.