This repository contains the maven artifacts necessary to build and release Eclipse EMF Validation plugins and features onto Bintray or to simply build it on your machine.
The builds on Bintray are available here.
Unveiling Validation Version | EMF Validation Version | EMF version | Eclipse Version |
---|---|---|---|
1.10.x |
1.10.0 |
2.15 |
Neon |
Add the following repository to your pom.xml
and then choose which EMF dependencies you want to use in your Maven project:
<repositories>
<!-- (...) -->
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-atlanmod</id>
<name>bintray</name>
<url>https://dl.bintray.com/atlanmod/unveiling</url>
</repository>
</repositories>
<dependency>
<groupId>org.atlanmod.unveiling</groupId>
<artifactId>org.eclipse.emf.validation</artifactId>
<type>pom</type>
<version>${unveiling.validation.version}</version>
</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 all 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 Bintray, execute:
mvn release:clean release:prepare
followed by:
mvn release:perform
mvn versions:set -DnewVersion=1.10.0 -DautoVersionSubmodules=true
mvn -f org.eclipse.emf.validation/org.eclipse.emf.validation.p2/ tycho-versions:set-version -D newVersion=1.10.0
mvn -f org.eclipse.emf.validation/org.eclipse.emf.validation.p2/ tycho-versions:update-eclipse-metadata