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