Commons Logging - Building
Author: Commons Documentation Team

##### Commons Logging

- Overview
- User Guide
- Tech Guide
- Troubleshooting Guide
- Wiki
- JavaDoc
- Release Notes
- Building
- Download

##### 1.1 Release

- Overview
- User Guide
- Tech Guide
- Troubleshooting Guide
- JavaDoc
- Release Notes

##### 1.0.4 Release

- Documentation
- JavaDoc
- Release Notes

##### 1.0.3 Release

- User Guide
- JavaDoc
- Release Notes

##### 1.0.2 Release

- JavaDoc

##### Project Documentation

- Project Information
- Project Reports

##### Commons

- Home
- Components
- Sandbox
- Dormant
- Volunteering
- Contributing Patches
- Building Components
- Releasing Components
- Wiki

##### ASF

- Sponsorship
- Thanks

## Overview

Commons Logging uses Maven 2.0.x as its primary build system. Ant can also be used.

## Maven

To build the full website, run

    mvn site

The result will be in the `target/site` folder. You must be online and using JDK 1.4 or higher to successfully complete this target.

To build the jar files, run

    mvn package

The resulting 4 jar files will be in the `target` folder. You must use JDK 1.4 or higher to successfully complete this target.

To create a full distribution, run

    mvn clean site assembly:assembly

The resulting .zip and .tar.gz files will be in the `target` folder. You must use JDK 1.4 or higher to successfully complete this target.

Further details can be found in the commons build instructions.

## Ant

We still use Ant to test the artifacts built my Maven. Please follow the instructions in the file `build-testing.xml`.

Note: A 1.2 JDK is needed to run the tests.