This repository contains the commercetools Composable Commerce and Import API Java SDKs generated from our API reference.
The latest stable SDK release can be retrieved from Maven Central with:
ext {
versions = [
commercetools: "14.1.0"
]
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
implementation "com.commercetools.sdk:commercetools-http-client:${versions.commercetools}"
implementation "com.commercetools.sdk:commercetools-sdk-java-api:${versions.commercetools}"
implementation "com.commercetools.sdk:commercetools-sdk-java-importapi:${versions.commercetools}"
implementation "com.commercetools.sdk:commercetools-sdk-java-ml:${versions.commercetools}"
}
<properties>
<commercetools.version>14.1.0</commercetools.version>
</properties>
<dependencies>
<dependency>
<groupId>com.commercetools.sdk</groupId>
<artifactId>commercetools-http-client</artifactId>
<version>${commercetools.version}</version>
</dependency>
<dependency>
<groupId>com.commercetools.sdk</groupId>
<artifactId>commercetools-sdk-java-api</artifactId>
<version>${commercetools.version}</version>
</dependency>
<dependency>
<groupId>com.commercetools.sdk</groupId>
<artifactId>commercetools-sdk-java-importapi</artifactId>
<version>${commercetools.version}</version>
</dependency>
<dependency>
<groupId>com.commercetools.sdk</groupId>
<artifactId>commercetools-sdk-java-ml</artifactId>
<version>${commercetools.version}</version>
</dependency>
</dependencies>
commercetools-http-client
: alias for commercetools-okhttp-client4commercetools-okhttp-client3
: uses OkHttp client 3.0commercetools-okhttp-client4
: uses OkHttp client 4.0commercetools-apachehttp-client
: uses Apache HTTP async client 5.1commercetools-asynchttp-client
: uses Async HTTP client 2.12commercetools-reactornetty-client
: uses Reactor Netty HTTP Clientcommercetools-sdk-java-api
: models and request builders for the product APIcommercetools-sdk-java-importapi
: models and request builders for the import APIcommercetools-sdk-java-ml
: models and request builders for the machine learning APIcommercetools-sdk-compat-v1
: Compatibility layer for Java v1 SDKcommercetools-money
: Provider for JSR-354 money instancescommercetools-monitoring-newrelic
: Middleware to integrate NewRelic monitoring
To migrate from the 1.x to the 2.x, there is a guideline below: