This repository contains the maven files necessary to build and release Eclipse CDO onto maven central or to simply build it on your machine.
You can find the builds on maven central here.
You can now use choose which cdo dependencies you want to use in your maven project. You can look at an example setup using the embedded repository in the tests project.
<dependency>
<groupId>org.eclipselabs</groupId>
<artifactId>cdo</artifactId>
<version>4.7.2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.eclipselabs</groupId>
<artifactId>net4j</artifactId>
<version>4.7.2</version>
<type>pom</type>
</dependency>
H2
<dependency>
<groupId>org.eclipselabs</groupId>
<artifactId>net4j.h2</artifactId>
<version>4.7.2</version>
<type>pom</type>
</dependency>
MySQL
<dependency>
<groupId>org.eclipselabs</groupId>
<artifactId>net4j.mysql</artifactId>
<version>4.7.2</version>
<type>pom</type>
</dependency>
PostgreSQL
<dependency>
<groupId>org.eclipselabs</groupId>
<artifactId>net4j.postgresql</artifactId>
<version>4.7.2</version>
<type>pom</type>
</dependency>
Oracle
<dependency>
<groupId>org.eclipselabs</groupId>
<artifactId>net4j.oracle</artifactId>
<version>4.7.2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.eclipselabs</groupId>
<artifactId>cdo.hibernate</artifactId>
<version>4.7.2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.eclipselabs</groupId>
<artifactId>cdo.mongodb</artifactId>
<version>4.7.2</version>
<type>pom</type>
</dependency>
When building you should first make sure that the pom and manifest versions are compatible.
When pom versions end with -SNAPSHOT
, Bundle-Version
in al MANIFEST.MF files should end with .qualifier
.
When pom versions don't have -SNAPSHOT
, remove .qualifier
in MANIFEST files.
You can build it yourself with following command inside the cdo-maven folder:
$ mvn clean install
Only for contributors.
Before releasing on maven central, make sure that pom versions end with -SNAPSHOT
and
MANIFEST versions do not end with .qualifier
, but have the correct release version number.
To release on maven central.
mvn release:clean release:prepare
follow by
mvn release:perform