2005-11-13 10:44:47 -05:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
2006-11-29 02:40:55 -05:00
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
2005-11-13 10:44:47 -05:00
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific iouage governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
<document>
|
|
|
|
<properties>
|
|
|
|
<title>Building</title>
|
2007-07-29 16:14:22 -04:00
|
|
|
<author email="dev@commons.apache.org">Commons Documentation Team</author>
|
2005-11-13 10:44:47 -05:00
|
|
|
</properties>
|
|
|
|
<body>
|
|
|
|
<!-- ================================================== -->
|
|
|
|
<section name="Building Commons Collections">
|
|
|
|
<p>
|
2008-04-12 21:00:05 -04:00
|
|
|
Commons Collections uses <a href="http://maven.apache.org">Maven 2</a> as its
|
|
|
|
primary build system, however an <a href="http://ant.apache.org">Ant</a>
|
|
|
|
build is also available.
|
2005-11-13 10:44:47 -05:00
|
|
|
</p>
|
2006-05-14 16:20:39 -04:00
|
|
|
<p>
|
2008-04-14 21:56:59 -04:00
|
|
|
You may also be interested in the <a href="release_3_2_1.html">v3.2.1 release notes</a>.
|
2006-05-14 16:20:39 -04:00
|
|
|
</p>
|
2005-11-13 10:44:47 -05:00
|
|
|
</section>
|
|
|
|
<!-- ================================================== -->
|
2008-04-12 21:00:05 -04:00
|
|
|
<section name="Maven 2 Goals">
|
2005-11-13 10:44:47 -05:00
|
|
|
<p>
|
2008-04-12 21:00:05 -04:00
|
|
|
The following <strong><i>Maven 2</i></strong> commands can be used to build collections:
|
2005-11-13 10:44:47 -05:00
|
|
|
</p>
|
2008-04-12 21:00:05 -04:00
|
|
|
<ul>
|
|
|
|
<li><code>mvn clean</code> - clean up</li>
|
|
|
|
<li><code>mvn test</code> - compile and run the unit tests</li>
|
|
|
|
<li><code>mvn site</code> - create io documentation</li>
|
|
|
|
<li><code>mvn package</code> - build the jar</li>
|
|
|
|
<li><code>mvn install</code> - build the jar and install in local maven repository</li>
|
|
|
|
<li><code>mvn site assembly:assembly</code> - Create the source and binary distributions</li>
|
|
|
|
</ul>
|
2005-11-13 10:44:47 -05:00
|
|
|
</section>
|
|
|
|
<!-- ================================================== -->
|
2008-04-12 21:00:05 -04:00
|
|
|
<section name="Maven 1 Goals">
|
2005-11-13 10:44:47 -05:00
|
|
|
<p>
|
2008-04-12 21:00:05 -04:00
|
|
|
The following <strong><i>Maven 1</i></strong> commands can be used to build collections:
|
2005-11-13 10:44:47 -05:00
|
|
|
</p>
|
2008-04-12 21:00:05 -04:00
|
|
|
<ul>
|
|
|
|
<li><code>maven clean</code> - clean up</li>
|
|
|
|
<li><code>maven test</code> - compile and run the unit tests</li>
|
|
|
|
<li><code>maven site</code> - create io documentation</li>
|
|
|
|
<li><code>maven jar</code> - build the jar</li>
|
|
|
|
<li><code>maven dist</code> - Create the source and binary distributions</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
<!-- ================================================== -->
|
|
|
|
<section name="Ant Goals">
|
2005-11-13 10:44:47 -05:00
|
|
|
<p>
|
2008-04-12 21:00:05 -04:00
|
|
|
The following <strong><i>Ant</i></strong> commands can be used to build collections:
|
2005-11-13 10:44:47 -05:00
|
|
|
</p>
|
2008-04-12 21:00:05 -04:00
|
|
|
<ul>
|
|
|
|
<li><code>ant clean</code> - clean up</li>
|
|
|
|
<li><code>ant test</code> - compile and run the unit tests</li>
|
|
|
|
<li><code>ant javadoc</code> - create javadocs</li>
|
|
|
|
<li><code>ant jar</code> - build the jar</li>
|
|
|
|
<li><code>ant dist</code> - Create the source and binary distributions</li>
|
|
|
|
</ul>
|
2005-11-13 10:44:47 -05:00
|
|
|
</section>
|
|
|
|
<!-- ================================================== -->
|
|
|
|
</body>
|
|
|
|
</document>
|