|  |  |  | License Codehaus OpenEJB OpenJMS OpenORB Tyrex
Old releases
General
Release 1.3
Release 1.3rc1
Release 1.2
Main
Home
About
Features
Download
Dependencies
Reference guide
Publications
JavaDoc
Maven 2 support
Maven 2 archetypes
DTD & Schemas
Recent HTML changes
News Archive
RSS news feed
Project Wiki
Development/Support
Mailing Lists
SVN/JIRA
Contributing
Support
Continuous builds
Prof. services
Related projects
Spring ORM support
Spring XML factories
WS frameworks
XML
XML
XML Code Generator
XML Code Generator
JDO
Introduction
First steps
Using JDO
JDO Config
Types
JDO Mapping
JDO FAQ
JDO Examples
JDO HOW-TOs
Tips & Tricks
Other Features
JDO sample JAR
Tools
Schema generator
Advanced JDO
Caching
OQL
Trans. & Locks
Design
KeyGen
Long Trans.
Nested Attrs.
Pooling Examples
LOBs
Best practice
DDL Generator
Using DDL Generator
Properties
Ant task
Type Mapping
More
The Examples
3rd Party Tools
JDO Tests
XML Tests
Configuration
About
License
User stories
Contributors
Marketplace
Status, Todo
Changelog
Library
Contact
Project Name
## How to integrate Castor with Maven Documentation Author(s): Werner Guttmann Releases Snapshot releases Available release artifacts Available snapshot release artifacts ## Releases Starting with Castor 1.0.4, the Castor team has started to make selected build artifacts of Castor available at the Codehaus Maven 2 repository. To include a specific Castor release artifact in your Maven 2 project(s), please add one of the following Maven 2 dependencies as outlined further below to your project POM (replacing 1.0.4 with the desired release number).
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-xml</artifactId>
       <version>1.0.4</version>
    </dependency>
and make sure you include the Codehaus Maven repository in your POM (if you happen to be an early adaptor) similar to ...
    <repository>
        <id>codehaus</id>
        <name>Maven Codehaus repository</name>
        <url>http://repository.codehaus.org/</url>
    </repository>
Once a specific Castor release has been propagated to the main Maven 2 repository at ibiblio (usually within 48 hours), adding just the dependency will be sufficient. ## Snapshot releases As we are working towards new releases, we will try to make snapshot releases available as we make progress with existing/newly created Jira issues. Please consult with the relevant release section at the roadmap to get an idea what's been fixed as part of a (planned) release. As usual, please report any issues with these Maven 2 (snapshot) releases through Jira. ## Available release artifacts The following table summarizes the build artifacts currently available through the Codehaus Maven 2 repository.
Description | Dependency | As of release
Castor XML (incl. core classes) |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-xml</artifactId>
       <version>1.3.1</version>
    </dependency>
| 1.2
Castor JDO - *** NEW *** |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-jdo</artifactId>
       <version>1.3.1</version>
    </dependency>
| 1.1.2
Castor Core - *** NEW *** |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-core</artifactId>
       <version>1.3.1</version>
    </dependency>
| 1.2.1
Castor DDL generator |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-ddlgen</artifactId>
       <version>1.3.1</version>
    </dependency>
| 1.1-M2
Castor XML code generator |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-codegen</artifactId>
       <version>1.3.1</version>
    </dependency>
| 1.1-M2
Ant task definitions for Castor |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-anttasks</artifactId>
       <version>1.3.1</version>
    </dependency>
| 1.1.1
Castor XML schema support |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-xml-schema</artifactId>
       <version>1.3.1</version>
    </dependency>
| 1.2
Until these build artifacts have been propagated to the main Maven 2 repository, please make sure that your project POMS include the following `<repository>` definition:
    <repository>
        <id>codehaus</id>
        <name>Codehaus Maven repository</name>
        <url>http://repository.codehaus.org/</url>
    </repository>
Please note that this propagation will usually take just a few hours. ## Available snapshot release artifacts The following table summarizes the build artifacts currently available through the Codehaus Maven 2 snapshot repository.
Description | Dependency | As of release
Castor |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-xml</artifactId>
       <version>1.3-SNAPSHOT</version>
    </dependency>
| 1.3-SNAPSHOT
Castor Core |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-core</artifactId>
       <version>1.3-SNAPSHOT</version>
    </dependency>
| 1.3-SNAPSHOT
Castor JDO |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-jdo</artifactId>
       <version>1.3-SNAPSHOT</version>
    </dependency>
| 1.1.1-SNAPSHOT
Castor DDL generator |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-ddlgen</artifactId>
       <version>1.3-SNAPSHOT</version>
    </dependency>
| 1.1-M2-SNAPSHOT
Castor XML code generator |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-codegen</artifactId>
       <version>1.3-SNAPSHOT</version>
    </dependency>
| 1.1-M2-SNAPSHOT
Ant task definitions for Castor |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-anttasks</artifactId>
       <version>1.3-SNAPSHOT</version>
    </dependency>
| 1.1-M2-SNAPSHOT
Castor XML schema support |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>castor-xml-schema</artifactId>
       <version>1.3-SNAPSHOT</version>
    </dependency>
| 1.2-SNAPSHOT
Castor XML Spring factory beans |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>spring-xml</artifactId>
       <version>1.0-SNAPSHOT</version>
    </dependency>
| 1.0-SNAPSHOT
Spring ORM for Castor JDO |
    <dependency>
       <groupId>org.codehaus.castor</groupId>
       <artifactId>spring-orm</artifactId>
       <version>1.3-SNAPSHOT</version>
    </dependency>
| 1.0-SNAPSHOT
For those artifacts available as snapshot releases only, please make sure that your project POMS include the following `<repository>` definition:
    <repository>
        <id>codehaus-snapshots</id>
        <name>Maven Codehaus snapshot repository</name>
        <url>http://snapshots.repository.codehaus.org/</url>
    </repository>
| Copyright © 1999-2005 ExoLab Group, Intalio Inc., and Contributors. All rights reserved. Java, EJB, JDBC, JNDI, JTA, Sun, Sun Microsystems are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and in other countries. XML, XML Schema, XSLT and related standards are trademarks or registered trademarks of MIT, INRIA, Keio or others, and a product of the World Wide Web Consortium. All other product names mentioned herein are trademarks of their respective owners. |