Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ jobs:
MVN_ARGS="${{ env.MVN_MULTI_THREADED_ARGS }} org.jacoco:jacoco-maven-plugin:prepare-agent surefire:test org.jacoco:jacoco-maven-plugin:report org.jacoco:jacoco-maven-plugin:check@default-check"
mvn $MVN_ARGS

- name: "Check Minimal Dependencies"
run: |
MVN_ARGS="${{ env.MVN_MULTI_THREADED_ARGS }} ${{ env.MVN_SKIP_CI_PLUGINS }} clean test -P floor-deps"
mvn $MVN_ARGS

- name: "Slack Notification"
if: ${{ github.ref == 'refs/heads/main' && failure() }}
uses: slackapi/slack-github-action@v4.0.0
Expand Down
2 changes: 1 addition & 1 deletion docs/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

### 🔧 Compatibility Notes

-
- The SDK is verified to build against these minimum supported dependency versions: SAP Cloud SDK `5.28.0`, Jackson `2.18.0`, Apache HttpComponents `5.4.2`, SLF4J `2.0.0`, Spring AI `1.1.0` (optional).

### ✨ New Functionality

Expand Down
67 changes: 67 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@
<!-- Binary compatibility check old/new version file -->
<japicmp.oldVersion.file>/tmp/baseline.jar</japicmp.oldVersion.file>
<japicmp.newVersion.file>${project.build.directory}/${project.build.finalName}.jar</japicmp.newVersion.file>
<!-- Minimum supported versions of consumer-facing dependencies, verified by the 'floor-deps' profile -->
<floor.cloud-sdk.version>5.28.0</floor.cloud-sdk.version>
<floor.jackson.version>2.18.0</floor.jackson.version>
<!-- Coupled to the Cloud SDK floor: SAP Cloud SDK 5.28.0 calls HttpClient5 5.4+ APIs at runtime -->
<floor.httpcomponents-core5.version>5.4.2</floor.httpcomponents-core5.version>
<floor.httpcomponents-client5.version>5.6</floor.httpcomponents-client5.version>
<floor.slf4j.version>2.0.0</floor.slf4j.version>
<floor.spring-ai.version>1.1.0</floor.spring-ai.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -998,6 +1006,65 @@ https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/ma
</plugins>
</build>
<profiles>
<profile>
<!-- Verify the SDK still compiles against the minimum supported dependency versions (floor.* properties).
Run with: mvn test -P floor-deps -->
<id>floor-deps</id>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.sap.cloud.sdk</groupId>
<artifactId>sdk-bom</artifactId>
<version>${floor.cloud-sdk.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- optional integration: spring-ai is declared optional in module poms, but still compiled -->
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-bom</artifactId>
<version>${floor.spring-ai.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${floor.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${floor.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${floor.jackson.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5</artifactId>
<version>${floor.httpcomponents-core5.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5-h2</artifactId>
<version>${floor.httpcomponents-core5.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>${floor.httpcomponents-client5.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${floor.slf4j.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>non-release</id>
<activation>
Expand Down
Loading