Skip to content

unveiling/unveiling-emf

Repository files navigation

Maven artifacts for Eclipse EMF

This repository contains the maven artifacts necessary to build and release Eclipse EMF plugins and features onto Bintray or to simply build it on your machine.

The builds on Bintray are available here.

Available versions

Unveiling EMF Version Eclipse EMF Version Eclipse Version JDK Version

2.24.x

2.24

2020-12

11

2.23.x

2.23

2020-09

11

2.22.x

2.22

2020-06

8

2.21.x

2.21

2020-03

8

2.20.x

2.20

2019-12

8

2.19.x

2.19

2019-09

8

2.18.x

2.18

2019-06

8

2.17.x

2.17

2019-03

8

2.16.x

2.16

2018-12

8

2.15.x

2.15

2018-09

8

Usage

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>

Eclipse EMF Artifacts

EMF Common Dependency
<dependency>
    <groupId>org.atlanmod.unveiling</groupId>
    <artifactId>org.eclipse.emf.common</artifactId>
    <type>pom</type>
    <version>${unveiling.emf.version}</version>
</dependency>
EMF Ecore Dependency
<dependency>
    <groupId>org.atlanmod.unveiling</groupId>
    <artifactId>org.eclipse.emf.ecore</artifactId>
    <type>pom</type>
    <version>${unveiling.emf.version}</version>
</dependency>
EMF Edit
<dependency>
    <groupId>org.atlanmod.unveiling</groupId>
    <artifactId>org.eclipse.emf.edit</artifactId>
    <type>pom</type>
    <version>${unveiling.emf.version}</version>
</dependency>
EMF Codegen
<dependency>
    <groupId>org.atlanmod.emf</groupId>
    <artifactId>org.eclipse.emf.codegen</artifactId>
    <type>pom</type>
    <version>${unveiling.emf.version}</version>
</dependency>

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 all 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 Bintray, execute:

mvn release:clean release:prepare

followed by:

mvn release:perform

Update POM and MANIFEST.MF versions

mvn versions:set -DnewVersion=2.23.1-SNAPSHOT -DautoVersionSubmodules=true
mvn -f unveiling-emf-repackaged tycho-versions:set-version -D newVersion=2.23.1-SNAPSHOT
mvn -f unveiling-emf-repackaged tycho-versions:update-eclipse-metadata