# Usage

## Getting started using Maven 2

In order to start using the Spring ORM module for Castor JDO, you will have to have Maven 2 installed:

- Download and install Maven 2

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

## Project dependencies

Please add the following Maven dependency to your POM to include the Spring ORM package for Castor JDO with your project:

    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>spring-orm</artifactId>
       <version>1.3</version>
    </dependency>

If you create a dependency against a SNAPSHOT release, you will have to add the following `<repository>` element to your POM as well, so that Maven 2 knows about the Codehaus Snapshot repository when trying to resolve and download dependencies.

    <repository>
        <id>codehaus-snapshots</id>
        <name>Maven Codehaus Snapshots</name>
        <url>http://snapshots.maven.codehaus.org/maven2/</url>
    </repository>

>