License     Codehaus     OpenEJB     OpenJMS     OpenORB     Tyrex     
 

Main
  Home
  About
  Features
  Download
  Maven 2 support
  API
  DTD & Schemas
  Recent changes
  RSS news feed

Development/Support
  Mailing Lists
  SVN/JIRA
  Contributing
  Support
  Prof. services

Related projects
  Spring ORM support
  Spring XML factories

XML
  Using XML
  XML Mapping
  XML FAQ
  XML HOW-TOs
  Custom Handlers
  Best practice

XML Code Generator
  Code Generator
  Properties
  Custom bindings
  Ant task
  Schema Support
  Example

JDO
  Introduction
  Using JDO
  JDO Config
  Types
  JDO Mapping
  JDO FAQ
  JDO Examples
  JDO HOW-TOs
  Other Features
  JDO sample JAR

Advanced JDO
  Caching
  OQL
  Trans. & Locks
  Design
  KeyGen
  Long Trans.
  Nested Attrs.
  Pooling Examples
  LOBs
  Best practice

More
  Presentations
  The Examples
  3rd Party Tools
  JDO Tests
  XML Tests
  Configuration
  Tips & Tricks
  Full JavaDoc
  CastorWiki
 
 

About
  License
  Contributors
  Marketplace
  Status, Todo
  Changelog
  Library
  Contact
  Project Name

  



How to integrate Castor with Maven

Documentation Author(s):
Werner Guttmann


Introduction
Snapshot releases
Available release artefacts
Available snapshot release artefacts


Introduction

Starting with Castor 1.0.4, the Castor team has started to make selected build artefacts of Castor available at the Codehaus Maven 2 repository.

To include Castor 1.0.4 (and future releases) in your Maven 2 project(s), please add the following Maven 2 dependency to your project POM.

<dependency>
   <groupId>org.codehaus.castor</groupId>
   <artifactId>castor</artifactId>
   <version>1.0.4</version>
</dependency>

and make sure you include the Codehaus Maven 2 repository in your POM similar to ...

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

Once Castor 1.0.4 will have been propagated to the main Maven 2 repository at ibiblio (http://www.ibiblio.org/maven2), 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 raodmap 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 artefacts

The following table summarizes the build artefacts currently available through the Codehaus Maven 2 repository.

Description Dependency
Castor
<dependency>
   <groupId>org.codehaus.castor</groupId>
   <artifactId>castor</artifactId>
   <version>1.0.4</version>
</dependency>

Until these build artefacts have been propagated to the main Maven 2 repository, please make sure that your project POMS include the following <repository> definition:

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

Available snapshot release artefacts

The following table summarizes the build artefacts currently available through the Codehaus Maven 2 snapshot repository.

Description Dependency
Castor
<dependency>
   <groupId>org.codehaus.castor</groupId>
   <artifactId>castor</artifactId>
   <version>1.0.5-SNAPSHOT</version>
</dependency>
Castor XML code generation - Ant task
<dependency>
   <groupId>org.codehaus.castor</groupId>
   <artifactId>code-generator-ant-task</artifactId>
   <version>1.0.5-SNAPSHOT</version>
</dependency>
Castor XML Spring factory beans
<dependency>
   <groupId>org.codehaus.castor</groupId>
   <artifactId>spring-xml</artifactId>
   <version>1.0-SNAPSHOT</version>
</dependency>
Spring ORM for Castor JDO
<dependency>
   <groupId>org.codehaus.castor</groupId>
   <artifactId>castor-spring</artifactId>
   <version>1.0-SNAPSHOT</version>
</dependency>

For those artefacts 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 Snapshots</name> 
    <url>http://snapshots.maven.codehaus.org/maven2/</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.