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> |
|
|