Download Source Code
The CDM source code is open source and can be downloaded from _CDM GitHub. All released versions are tagged and can be downloaded from CDM GitHub Releases.
Versions
The CDM code is tagged using semantic versioning and is available on GitHub Releases. All CDM Binary distributions are created on every release and are all published to Maven Central.
CDM as Java
The CDM is distributed in Java and is available in Maven Central.
Setup
In order to use the CDM in a Maven project, the following dependency needs to be added to the project pom.xml:
dependency
<groupId>org.finos.cdm</groupId>
<artifactId>cdm-java</artifactId>
<version>LATEST</version>
NOTE: All current CDM dependencies are available in Maven Central. For CDM releases prior to version 4.0.0 the dependencies can be found in the ISDA repository: artifactregistry://europe-west1-maven.pkg.dev/production-208613/isda-maven Add the following two snippets to the
<build>
and<repositories>
sections of your projectpom.xml
:
<build>
<!-- existing contents -->
<extensions>
<extension>
<groupId>com.google.cloud.artifactregistry</groupId>
<artifactId>artifactregistry-maven-wagon</artifactId>
<version>2.2.1</version>
</extension>
</extensions>
</build>
<repositories>
<!-- remove references to REGnosys Jfrog -->
<repository>
<id>isda-maven</id>
<url>artifactregistry://europe-west1-maven.pkg.dev/production-208613/isda-maven</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>public-maven</id>
<url>artifactregistry://europe-west1-maven.pkg.dev/production-208613/public-maven</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- existing contents -->
</repositories>
CDM as Java Examples
Examples of how you can use the CDM can be found in GitHub: CDM GitHub Examples.
CDM as Python
CDM as Python is published
here. Then click on the Browse
button for latest version available as .tar.gz
file .
CDM as DAML
CDM as DAML is published
here. Then click on the Browse
button for latest version available as .tar.gz
file containing compiled .dar
files.
CDM as Scala
CDM as Scala is published
here. Then click on the Browse
button for latest version available as .jar
file .
CDM as C# 8.0
CDM as C# 8.0 is published
here. Then click on the Browse
button for latest version available as a tar.gz
file containing compiled .dll
files.
CDM as C# 9.0
CDM as C# 9.0 is published
here. Then click on the Browse
button for latest version available as a tar.gz
file containing compiled .dll
files.
CDM as Go
CDM as Go is files published
here. Then click on the Browse
button for latest version available as a tar.gz
file containing the .go
CDM as TypeScript
CDM as TypeScript is published
here. Then click on the Browse
button for latest version available as a zip
file containing the .ts
files.
CDM as Kotlin
CDM as Kotlin is published
here. Then click on the Browse
button for latest version available as a .jar
file.
CDM as Excel
CDM as Excel is published
here. Then click on the Browse
button for latest version available as a .xlsx
file containing CDM Types, Attributes and Enums.
CDM as JSON Schema
CDM as JSON Schema is published
here. Then click on the Browse
button for latest version available as a zip
file containing the .json
schema files.
CDM Event Specification Module as DAML
CDM Event Specification Module as DAML is available here.