<?xml version="1.0"?>
<!--
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

     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 language governing permissions and
limitations under the License.
-->
<document>
 <properties>
  <title>Building</title>
  <author email="dev@commons.apache.org">Commons Documentation Team</author>
 </properties>
<body>
<!-- ================================================== -->
<section name="Overview">
<p>
  Commons IO uses <a href="http://maven.apache.org">Maven 2+</a> or
  <a href="http://ant.apache.org">Ant</a> as a build system.
</p>
<p>
  Commons IO requires a minimum of JDK 1.5 to build.
</p>
<p>
  You may also be interested in the upgrade notes:<br />
  Upgrade <a href="upgradeto2_0_1.html">from 2.0 to 2.0.1</a><br />
  Upgrade <a href="upgradeto2_0.html">from 1.4 to 2.0</a><br />
  Upgrade <a href="upgradeto1_4.html">from 1.3.2 to 1.4</a><br />
  Upgrade <a href="upgradeto1_3_2.html">from 1.3, or 1.3.1 to 1.3.2</a><br />
  Upgrade <a href="upgradeto1_3_1.html">from 1.3 to 1.3.1</a><br />
  Upgrade <a href="upgradeto1_3.html">from 1.2 to 1.3</a><br />
  Upgrade <a href="upgradeto1_2.html">from 1.1 to 1.2</a><br />
  Upgrade <a href="upgradeto1_1.html">from 1.0 to 1.1</a><br />
</p>
</section>
<section name="Maven 2 Goals">
  <p>
    The following <a href="http://maven.apache.org">Maven</a> commands can be used to build io:
  </p>
  <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 package -Prc</code> - Create the source and binary distributions</li>
  </ul>
</section>
<!-- ================================================== -->
<section name="Ant Goals">
  <p>
    <strong>Note:</strong>
    <ul>
        <li>Dependencies are automatically downloaded if not specified explicitly in
            a <code>build.properties</code> file.</li>
    </ul>
  </p>
  <p>
    The following <a href="http://ant.apache.org">Ant</a> commands can be used to build io:
  </p>
  <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>
</section>
<!-- ================================================== -->
</body>
</document>
