You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://search.maven.org/artifact/com.commercetools/commercetools-sync-java/9.2.3/jar)
> Note: The current version of this library uses [JVM-SDK-V2](http://commercetools.github.io/commercetools-sdk-java-v2). This doc already contains updated information. Please migrate to this version, using our [Migration Guide](/docs/sdk2/MIGRATION_GUIDE.md).
10
+
> If migration isn't an option for you, you can still use deprecated versions of this library available at [Maven central](https://search.maven.org/artifact/com.commercetools/commercetools-sync-java/9.2.3/jar).
11
+
10
12
More at https://commercetools.github.io/commercetools-sync-java
11
13
12
14
Java library which allows to import/synchronise (import changes) the data from any arbitrary source to commercetools project.
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
32
32
## Usage
33
33
34
-
Create you own event or cronjob based application and use the library to transform any external data (JSON, CSV, XML, REST API, DB, ...) into [commercetools-jvm-sdk](https://github.com/commercetools/commercetools-jvm-sdk) resource draft objects (e.g. [CategoryDraft](https://github.com/commercetools/commercetools-jvm-sdk/blob/master/commercetools-models/src/main/java/io/sphere/sdk/categories/CategoryDraft.java)) and import those into the commercetools project.
34
+
Create your own event or cronjob based application and use the library to transform any external data (JSON, CSV, XML, REST API, DB, ...) into [JVM-SDK-V2](http://commercetools.github.io/commercetools-sdk-java-v2) resource draft objects (e.g. [CategoryDraft](https://github.com/commercetools/commercetools-sdk-java-v2/blob/main/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraft.java)) and import those into the commercetools project.
35
35
36
36
Notes:
37
37
38
38
- It is often more efficient if you can setup your external data source to provide you only the changes (deltas) instead of the full data set on every import iteration.
39
39
- There is dockerized ready-to-use CLI application [commercetools-project-sync](https://github.com/commercetools/commercetools-project-sync) which based on this library can synchronize entire data catalogue between the 2 commercetools projects.
40
40
- During a synchronisation, resources are either created or updated, but **not** deleted.
41
41
42
-
⚡ See the [Quick Start Guide](/docs/usage/QUICK_START.md) for more information on building a product importer!
42
+
⚡ See the [Quick Start Guide](/docs/sdk2/usage/QUICK_START.md) for more information on building a product importer!
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
19
+
20
+
# Migration Guide
21
+
22
+
The commercetools sync library uses the [JVM-SDK-V2](http://commercetools.github.io/commercetools-sdk-java-v2), therefore ensure you [Install JVM SDK](https://docs.commercetools.com/sdk/java-sdk-getting-started#install-the-java-sdk) module `commercetools-sdk-java-api` with
23
+
any HTTP client module. The default one is `commercetools-http-client`.
24
+
25
+
## Common Changes
26
+
27
+
Some utility methods aren't available in this version. Please make sure to replace these. Here's a list of changes:
0 commit comments