All Projects → adobe → target-java-sdk

adobe / target-java-sdk

Licence: other
Adobe Target Java SDK powered by Target Server Side Delivery API

Programming Languages

java
68154 projects - #9 most used programming language
Mustache
554 projects
shell
77523 projects

Adobe Target Java SDK

The Adobe Target Java SDK uses the [Target View Delivery API] to retrieve and deliver personalized experiences using best practices. Furthermore, the Java SDK helps manage integrations with Experience Cloud solutions like Visitor API and Adobe Analytics.

Getting started

Prerequisites

  • Java 8+
  • Maven or Gradle

Installation

To get started with Target Java SDK, just add it as a dependency in gradle as:

compile 'com.adobe.target:target-java-sdk:2.0.0'

or maven as:

<dependency>
    <groupId>com.adobe.target</groupId>
    <artifactId>target-java-sdk</artifactId>
    <version>2.0.0 </version>
</dependency>

Super Simple to Use

Please take a look at our documentation to learn how to use the Java SDK.

Samples

The Adobe Target Java SDK Samples can be found here.

Development

Check out our Contribution guidelines as well as Code of Conduct prior to contributing to Target Java SDK development.

  1. To build the project: ./gradlew build
  2. To install java-sdk locally: ./gradle install

Delivery API Client generation

The SDK depends on Target Open API. It uses Open API and the Open API generator to generate the low level HTTP client.

To be able to use Target Open API for code generation, we are leveraging Git subtree.

To refresh the local target-openapi subtree, use the command:

git subtree pull --prefix openapi [email protected]:adobe/target-openapi.git main --squash

The openapi-generator config is located in the codegeneration directory, but there is no need to invoke it directly. To regenerate the openapi models use the command: ./gradlew codegen spotlessApply

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].