ESPD Exchange Data Model (ESPD-EDM)

v2.0.2

Requirements

  • Java 8

  • Maven 3

Installation

With Maven

The recommended way to get started using the exchange-model in your Java project is with a dependency management system.

pom.xml
<dependency>
  <groupId>eu.europa.ec.grow.espd</groupId>
  <artifactId>exchange-model2</artifactId>
  <version>2.0.2</version>
</dependency>

Version 2 of the Exchange Model has a different artifactId, i.e. exchange-model2, in order to support the usage of both versions at the same time inside a Java Maven project.

In order to use the snapshot version, you might have to enable the Maven snapshot repository.

pom.xml
<repositories>
  <repository>
    <id>oss-sonatype</id>
    <name>oss-sonatype</name>
    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>

With Gradle

build.gradle
dependencies {
    compile("eu.europa.ec.grow.espd:exchange-model2:2.0.2")
}