From 9ff610f66d08ea6607e9b923b9aa172ce1b75909 Mon Sep 17 00:00:00 2001 From: Markus Ofterdinger Date: Tue, 13 Oct 2026 16:04:05 +0200 Subject: [PATCH 1/3] docs: Add setup instructions for OpenRewrite Maven repository --- java/migration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java/migration.md b/java/migration.md index 232e051675..dd6badb4c9 100644 --- a/java/migration.md +++ b/java/migration.md @@ -29,6 +29,12 @@ uacp: Used as link target from Help Portal at https://help.sap.com/products/BTP/ For any Java related changes of the CAP Java APIs we try to make the transition from the old version to the new version as smooth as possible. Consequently, we provide [OpenRewrite recipes](https://docs.openrewrite.org) with migrations for our API changes so that larger projects can easily consume them. +### Setting Up the Maven Repository + +The OpenRewrite Maven plugin and its recipes are published to the [Code Genome Project](https://www.codegenomeproject.org/) repository, which requires explicit configuration in your `~/.m2/settings.xml`. + +[Learn more about the Code Genome Project repository setup.](https://docs.openrewrite.org/running-recipes/running-rewrite-on-a-maven-project-without-modifying-the-build#configure-the-code-genome-project-repository){.learn-more} + ### Running OpenRewrite Recipes As migration is a one-time operation, run the OpenRewrite `recipes` as a command through Maven. Take this call as an example: From 26acc0a08013f203c3983856af99414dc9c3a919 Mon Sep 17 00:00:00 2001 From: Markus Ofterdinger Date: Tue, 13 Oct 2026 16:24:30 +0200 Subject: [PATCH 2/3] docs: Add internal repository configuration note for OpenRewrite artifacts --- java/migration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java/migration.md b/java/migration.md index dd6badb4c9..35901ecd7e 100644 --- a/java/migration.md +++ b/java/migration.md @@ -33,6 +33,10 @@ For any Java related changes of the CAP Java APIs we try to make the transition The OpenRewrite Maven plugin and its recipes are published to the [Code Genome Project](https://www.codegenomeproject.org/) repository, which requires explicit configuration in your `~/.m2/settings.xml`. +::: tip SAP Internal +The OpenRewrite artifacts are available through the internal Maven repository, so no additional repository configuration is required. +::: + [Learn more about the Code Genome Project repository setup.](https://docs.openrewrite.org/running-recipes/running-rewrite-on-a-maven-project-without-modifying-the-build#configure-the-code-genome-project-repository){.learn-more} ### Running OpenRewrite Recipes From c0534e78bb2f93a81f74c4acd29a4f6f35c31f06 Mon Sep 17 00:00:00 2001 From: Markus Ofterdinger Date: Mon, 19 Oct 2026 14:56:35 +0200 Subject: [PATCH 3/3] Update java/migration.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: René Jeglinsky --- java/migration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/migration.md b/java/migration.md index 35901ecd7e..9c8da41254 100644 --- a/java/migration.md +++ b/java/migration.md @@ -33,9 +33,9 @@ For any Java related changes of the CAP Java APIs we try to make the transition The OpenRewrite Maven plugin and its recipes are published to the [Code Genome Project](https://www.codegenomeproject.org/) repository, which requires explicit configuration in your `~/.m2/settings.xml`. -::: tip SAP Internal -The OpenRewrite artifacts are available through the internal Maven repository, so no additional repository configuration is required. -::: +::: tip SAP Internal +The OpenRewrite artifacts are available through the internal Maven repository, so no additional repository configuration is required. +::: [Learn more about the Code Genome Project repository setup.](https://docs.openrewrite.org/running-recipes/running-rewrite-on-a-maven-project-without-modifying-the-build#configure-the-code-genome-project-repository){.learn-more}