Skip to content

AuthX/commercetools-sdk-java-v2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commercetools Composable Commerce JAVA SDK

Introduction

This repository contains the commercetools Composable Commerce and Import API Java SDKs generated from our API reference.

Installation

Java SDK with Gradle

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}"
}

Java SDK with Maven

<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>

Modules

  • commercetools-http-client: alias for commercetools-okhttp-client4
  • commercetools-okhttp-client3: uses OkHttp client 3.0
  • commercetools-okhttp-client4: uses OkHttp client 4.0
  • commercetools-apachehttp-client: uses Apache HTTP async client 5.1
  • commercetools-asynchttp-client: uses Async HTTP client 2.12
  • commercetools-reactornetty-client: uses Reactor Netty HTTP Client
  • commercetools-sdk-java-api: models and request builders for the product API
  • commercetools-sdk-java-importapi: models and request builders for the import API
  • commercetools-sdk-java-ml: models and request builders for the machine learning API
  • commercetools-sdk-compat-v1: Compatibility layer for Java v1 SDK
  • commercetools-money: Provider for JSR-354 money instances
  • commercetools-monitoring-newrelic: Middleware to integrate NewRelic monitoring

Migration Guidelines

To migrate from the 1.x to the 2.x, there is a guideline below:

Documentation

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.7%
  • Other 0.3%