Skip to main content

Installation

Prerequisites

  • Java ≥ 11 (latest LTS version recommended)
  • Maven command-line tool

Install the SDK

Step 1: Install to local Maven repository

cd idmp-java-sdk
mvn install -DskipTests

Step 2: Add dependency to your pom.xml

<dependency>
<groupId>com.taosdata</groupId>
<artifactId>idmp-sdk</artifactId>
<version>{SDK_VERSION}</version>
</dependency>

Replace {SDK_VERSION} with the actual version number, e.g. 1.0.13.0.

Verify Installation

If the following import compiles without error, the SDK is installed correctly:

import org.openapitools.client.ApiClient;

Private / Offline Environments

Upload the JAR to your private Maven repository (Nexus, Artifactory, etc.) and configure the repository in pom.xml:

<repositories>
<repository>
<id>private-repo</id>
<url>https://your-maven-repo/repository/maven-releases/</url>
</repository>
</repositories>