# Build instructions

## Prerequisites

In order to build the Sping ORM module for Castor JDO, you will have the following requirements met on your system:

- Download and install Maven 2

- Download and install a Subversion client.

As this project uses Maven 2 for build and deployment, all required compile-time dependencies will automatically be resolved by Maven 2 and deployed into your local Maven 2 repository.

## Building the Spring ORM module

This section describes how to build the Spring module from a command line using Maven 2. Whilst there is support for Maven 2 in various IDEs (including e.g. Eclipse, IDEA, etc.), using the Maven command line seems to be the most adequate least common denominator.

This section assumes that you have ckecked out the latest sources from the SVN repsitory for the Spring ORM module for Castor JDO. Instructions for doing so are provided here.

Open a command line (shell) on your system, and issue the following commands:

     > mvn jar

Above command will compile the sources and create the distribution JAR in the `target` directory of the project root.

To install the newly created distribution JAR into your local Maven 2 repository, please issue the following command:

     > mvn install

To create the complete project documentation - in addition to the distribution assembly, please issue ...

     > mvn site