An open API service indexing awesome lists of open source software.

https://github.com/ghillairet/cdo-maven

Eclipse CDO Mavenized
https://github.com/ghillairet/cdo-maven

cdo eclipse emf

Last synced: 2 months ago
JSON representation

Eclipse CDO Mavenized

Awesome Lists containing this project

README

        

# Maven distribution for Eclipse CDO

This repository contains the maven files necessary to build and release Eclipse [CDO](http://wiki.eclipse.org/CDO) onto maven central or
to simply build it on your machine.

You can find the builds on maven central [here](http://search.maven.org/#search|ga|1|g%3A%22org.eclipselabs%22%20AND%20%28a%3Acdo.*%20OR%20a%3Anet4j.*%29).

## Usage

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](https://github.com/ghillairet/cdo-maven/tree/master/cdo-tests).

### CDO

```xml

org.eclipselabs
cdo
4.7.2
pom

```

### Net4J

```xml

org.eclipselabs
net4j
4.7.2
pom

```

### DB Stores

H2

```xml

org.eclipselabs
net4j.h2
4.7.2
pom

```

MySQL

```xml

org.eclipselabs
net4j.mysql
4.7.2
pom

```

PostgreSQL

```xml

org.eclipselabs
net4j.postgresql
4.7.2
pom

```

Oracle

```xml

org.eclipselabs
net4j.oracle
4.7.2
pom

```

### CDO Hibernate

```xml

org.eclipselabs
cdo.hibernate
4.7.2
pom

```

### CDO MongoDB

```xml

org.eclipselabs
cdo.mongodb
4.7.2
pom

```

## Build steps

### Versioning

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.

### Building

You can build it yourself with following command inside the cdo-maven folder:

```
$ mvn clean install
```

### Releasing

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