Repository: dapr/java-sdk
Pull request #1334: Cleanup Spring Dependencies
Author: login: siri-varma
Labels: name: auto-merge
Created: 2025-05-05T21:09:41Z | Merged: 2025-05-29T04:37:24Z

# Description

* I think having all the versions defined in the parent pom is a good idea.
* Moved the versions for testcontainer-module and spring-boot-example to parent pom. Depending on the feedback from this PR will work on rest of the modules in later prs.

## Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #940

## Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

* [X] Code compiles correctly
* [X] Created/updated tests
* [X] Extended the documentation



Diff:
diff --git a/dapr-spring/dapr-spring-boot-autoconfigure/pom.xml b/dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
index f5fffffed8..240ab9fe07 100644
--- a/dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
+++ b/dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
@@ -18,19 +18,20 @@
     <dependency>
       <groupId>io.dapr.spring</groupId>
       <artifactId>dapr-spring-data</artifactId>
-      <version>${project.parent.version}</version>
       <optional>true</optional>
     </dependency>
+    <dependency>
+      <groupId>io.dapr</groupId>
+      <artifactId>dapr-sdk-actors</artifactId>
+    </dependency>
     <dependency>
       <groupId>io.dapr.spring</groupId>
       <artifactId>dapr-spring-messaging</artifactId>
-      <version>${project.parent.version}</version>
       <optional>true</optional>
     </dependency>
     <dependency>
       <groupId>io.dapr.spring</groupId>
       <artifactId>dapr-spring-workflows</artifactId>
-      <version>${project.parent.version}</version>
       <optional>true</optional>
     </dependency>
     <dependency>
@@ -71,9 +72,20 @@
     <dependency>
       <groupId>io.dapr</groupId>
       <artifactId>testcontainers-dapr</artifactId>
-      <version>${dapr.sdk.alpha.version}</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-beans</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-context</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-starter-test</artifactId>
+    </dependency>
   </dependencies>
   <build>
     <plugins>
diff --git a/dapr-spring/dapr-spring-boot-starters/dapr-spring-boot-starter-test/pom.xml b/dapr-spring/dapr-spring-boot-starters/dapr-spring-boot-starter-test/pom.xml
index 141c28cedb..2bca355e88 100644
--- a/dapr-spring/dapr-spring-boot-starters/dapr-spring-boot-starter-test/pom.xml
+++ b/dapr-spring/dapr-spring-boot-starters/dapr-spring-boot-starter-test/pom.xml
@@ -23,12 +23,10 @@
         <dependency>
             <groupId>io.dapr.spring</groupId>
             <artifactId>dapr-spring-boot-tests</artifactId>
-            <version>${project.parent.version}</version>
         </dependency>
         <dependency>
             <groupId>io.dapr</groupId>
             <artifactId>testcontainers-dapr</artifactId>
-            <version>${project.parent.version}</version>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
diff --git a/dapr-spring/dapr-spring-boot-starters/dapr-spring-boot-starter/pom.xml b/dapr-spring/dapr-spring-boot-starters/dapr-spring-boot-starter/pom.xml
index a57f708daa..ff916ac25e 100644
--- a/dapr-spring/dapr-spring-boot-starters/dapr-spring-boot-starter/pom.xml
+++ b/dapr-spring/dapr-spring-boot-starters/dapr-spring-boot-starter/pom.xml
@@ -23,27 +23,22 @@
     <dependency>
       <groupId>io.dapr</groupId>
       <artifactId>dapr-sdk-springboot</artifactId>
-      <version>${dapr.sdk.version}</version>
     </dependency>
     <dependency>
       <groupId>io.dapr.spring</groupId>
       <artifactId>dapr-spring-boot-autoconfigure</artifactId>
-      <version>${project.parent.version}</version>
     </dependency>
     <dependency>
       <groupId>io.dapr.spring</groupId>
       <artifactId>dapr-spring-data</artifactId>
-      <version>${project.parent.version}</version>
     </dependency>
     <dependency>
       <groupId>io.dapr.spring</groupId>
       <artifactId>dapr-spring-messaging</artifactId>
-      <version>${project.parent.version}</version>
     </dependency>
     <dependency>
       <groupId>io.dapr.spring</groupId>
       <artifactId>dapr-spring-workflows</artifactId>
-      <version>${project.parent.version}</version>
     </dependency>
   </dependencies>
 
diff --git a/dapr-spring/dapr-spring-boot-tests/pom.xml b/dapr-spring/dapr-spring-boot-tests/pom.xml
index b9210d0584..e0e3425f68 100644
--- a/dapr-spring/dapr-spring-boot-tests/pom.xml
+++ b/dapr-spring/dapr-spring-boot-tests/pom.xml
@@ -22,7 +22,6 @@
     <dependency>
       <groupId>io.dapr.spring</groupId>
       <artifactId>dapr-spring-boot-autoconfigure</artifactId>
-      <version>${project.parent.version}</version>
     </dependency>
     <dependency>
       <groupId>org.testcontainers</groupId>
@@ -38,7 +37,6 @@
     <dependency>
       <groupId>io.dapr</groupId>
       <artifactId>testcontainers-dapr</artifactId>
-      <version>${dapr.sdk.alpha.version}</version>
     </dependency>
   </dependencies>
   <build>
diff --git a/dapr-spring/dapr-spring-data/pom.xml b/dapr-spring/dapr-spring-data/pom.xml
index bd6efe151b..bf7b8b3be1 100644
--- a/dapr-spring/dapr-spring-data/pom.xml
+++ b/dapr-spring/dapr-spring-data/pom.xml
@@ -19,6 +19,10 @@
       <groupId>org.springframework.data</groupId>
       <artifactId>spring-data-keyvalue</artifactId>
     </dependency>
+    <dependency>
+      <groupId>io.dapr</groupId>
+      <artifactId>dapr-sdk</artifactId>
+    </dependency>
   </dependencies>
 
   <build>
diff --git a/dapr-spring/dapr-spring-messaging/pom.xml b/dapr-spring/dapr-spring-messaging/pom.xml
index d5d50ef4ed..6ab4ce2301 100644
--- a/dapr-spring/dapr-spring-messaging/pom.xml
+++ b/dapr-spring/dapr-spring-messaging/pom.xml
@@ -14,6 +14,17 @@
   <description>Dapr Spring Messaging</description>
   <packaging>jar</packaging>
 
+  <dependencies>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-context</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>io.dapr</groupId>
+      <artifactId>dapr-sdk</artifactId>
+    </dependency>
+  </dependencies>
+
   <build>
     <plugins>
       <plugin>
diff --git a/dapr-spring/dapr-spring-workflows/pom.xml b/dapr-spring/dapr-spring-workflows/pom.xml
index 2182b60908..bac4ab7d2c 100644
--- a/dapr-spring/dapr-spring-workflows/pom.xml
+++ b/dapr-spring/dapr-spring-workflows/pom.xml
@@ -15,10 +15,17 @@
   <packaging>jar</packaging>
 
   <dependencies>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-beans</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-context</artifactId>
+    </dependency>
     <dependency>
       <groupId>io.dapr</groupId>
       <artifactId>dapr-sdk-workflows</artifactId>
-      <version>${project.version}</version>
     </dependency>
   </dependencies>
   <build>
diff --git a/dapr-spring/pom.xml b/dapr-spring/pom.xml
index 740f7cdd16..f332fb217d 100644
--- a/dapr-spring/pom.xml
+++ b/dapr-spring/pom.xml
@@ -28,12 +28,14 @@
   </modules>
 
   <properties>
-    <springboot.version>3.2.6</springboot.version>
     <maven.compiler.source>11</maven.compiler.source>
     <maven.compiler.target>11</maven.compiler.target>
     <maven.compiler.release>11</maven.compiler.release>
     <testcontainers.version>1.19.8</testcontainers.version>
-    <junit.version>5.10.2</junit.version>
+    <junit.version>5.11.2</junit.version>
+    <dapr.spring.version>0.16.0-SNAPSHOT</dapr.spring.version>
+    <springboot.version>3.2.6</springboot.version>
+    <springframework.version>6.1.8</springframework.version>
     <logback-core.version>1.4.14</logback-core.version>
   </properties>
 
@@ -44,32 +46,121 @@
         <artifactId>spring-boot-dependencies</artifactId>
         <version>${springboot.version}</version>
         <type>pom</type>
-        <scope>import</scope>
       </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-actors</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-workflows</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-data</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-messaging</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-workflows</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-boot-autoconfigure</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-springboot</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-context</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-beans</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
+
+      <!-- Spring dependencies -->
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-web</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-configuration-processor</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-starter</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-autoconfigure-processor</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-boot-tests</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+
+      <!-- Test dependencies -->
       <dependency>
         <groupId>org.junit.jupiter</groupId>
         <artifactId>junit-jupiter-api</artifactId>
         <version>${junit.version}</version>
+        <scope>test</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-starter-test</artifactId>
+        <version>${springboot.version}</version>
+        <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.junit.jupiter</groupId>
         <artifactId>junit-jupiter-params</artifactId>
         <version>${junit.version}</version>
+        <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.junit.jupiter</groupId>
         <artifactId>junit-jupiter-engine</artifactId>
         <version>${junit.version}</version>
+        <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.junit.jupiter</groupId>
         <artifactId>junit-jupiter</artifactId>
         <version>${junit.version}</version>
+        <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.testcontainers</groupId>
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
+        <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>ch.qos.logback</groupId>
@@ -79,46 +170,6 @@
     </dependencies>
   </dependencyManagement>
 
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-
-    <!-- Spring dependencies -->
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-web</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-context</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-configuration-processor</artifactId>
-      <version>${springboot.version}</version>
-      <optional>true</optional>
-    </dependency>
-
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-starter-test</artifactId>
-      <version>${springboot.version}</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
   <build>
     <plugins>
       <plugin>
diff --git a/pom.xml b/pom.xml
index c0c67a89d4..a5d3205695 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,7 +1,7 @@
 <project
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns="http://maven.apache.org/POM/4.0.0"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xmlns="http://maven.apache.org/POM/4.0.0"
+        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>io.dapr</groupId>
@@ -129,11 +129,11 @@
         <version>${grpc.version}</version>
         <scope>test</scope>
       </dependency>
-    <dependency>
-      <groupId>org.jetbrains.kotlin</groupId>
-      <artifactId>kotlin-stdlib</artifactId>
-      <version>2.1.0</version>
-    </dependency>
+      <dependency>
+        <groupId>org.jetbrains.kotlin</groupId>
+        <artifactId>kotlin-stdlib</artifactId>
+        <version>2.1.0</version>
+      </dependency>
       <dependency>
         <groupId>org.yaml</groupId>
         <artifactId>snakeyaml</artifactId>
@@ -241,6 +241,11 @@
         <artifactId>spring-boot-testcontainers</artifactId>
         <version>${springboot.version}</version>
       </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>testcontainers-dapr</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
       <dependency>
         <groupId>org.testcontainers</groupId>
         <artifactId>toxiproxy</artifactId>
diff --git a/spring-boot-examples/consumer-app/pom.xml b/spring-boot-examples/consumer-app/pom.xml
index ad64eb49ab..8bb5e715d7 100644
--- a/spring-boot-examples/consumer-app/pom.xml
+++ b/spring-boot-examples/consumer-app/pom.xml
@@ -55,6 +55,15 @@
       <artifactId>rest-assured</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-starter-test</artifactId>
+    </dependency>
   </dependencies>
 
   <build>


Reviews:
user: login: salaboy
state: COMMENTED
author_association: COLLABORATOR
submitted_at: 2025-05-06T07:51:58Z
user: login: salaboy
body: @siri-varma I've left some comments .. I do recommend not having the springframework.version managed in this way.. it will make it really hard to maintain. 
state: CHANGES_REQUESTED
author_association: COLLABORATOR
submitted_at: 2025-05-06T07:53:54Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-06T14:03:58Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-06T14:10:18Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-06T14:11:27Z
user: login: artur-ciocanu
body: @siri-varma the PR looks good, but could you please provide some details why this is needed so I have a better high level understanding.
state: CHANGES_REQUESTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-14T15:11:17Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T19:09:44Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T19:15:42Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T19:15:47Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T19:17:48Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T19:23:43Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T21:44:28Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T21:50:39Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T21:50:44Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T21:51:02Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T21:51:07Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T21:51:15Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T21:57:03Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-19T21:57:45Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-20T05:57:24Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-20T05:58:37Z
user: login: siri-varma
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-20T06:04:05Z
user: login: artur-ciocanu
body: LGTM, thanks for all the effort! 🙇 
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-05-24T01:05:33Z
user: login: salaboy
state: COMMENTED
author_association: COLLABORATOR
submitted_at: 2025-05-28T14:12:58Z
user: login: salaboy
state: COMMENTED
author_association: COLLABORATOR
submitted_at: 2025-05-28T14:13:44Z
user: login: salaboy
body: /LGTM
state: APPROVED
author_association: COLLABORATOR
submitted_at: 2025-05-28T14:15:24Z

Review comments:
diff_hunk: @@ -70,48 +71,97 @@
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>testcontainers-dapr</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-actors</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-workflows</artifactId>
+        <version>0.15.0-SNAPSHOT</version>
path: dapr-spring/pom.xml
user: login: salaboy
body: @siri-varma why is this different? 
created_at: 2025-05-06T07:51:58Z
author_association: COLLABORATOR
diff_hunk: @@ -33,7 +33,9 @@
     <maven.compiler.target>11</maven.compiler.target>
     <maven.compiler.release>11</maven.compiler.release>
     <testcontainers.version>1.19.8</testcontainers.version>
-    <junit.version>5.10.2</junit.version>
+    <junit.version>5.11.2</junit.version>
+    <dapr.spring.version>0.15.0-SNAPSHOT</dapr.spring.version>
+    <springframework.version>6.1.8</springframework.version>
path: dapr-spring/pom.xml
user: login: salaboy
body: @siri-varma this makes it a bit too messy.. as we should keep in sync this version with the Spring Boot version. If we are managing the Spring Boot version on the parent pom, then we can also get that from Spring Boot right? 
created_at: 2025-05-06T07:53:22Z
author_association: COLLABORATOR
diff_hunk: @@ -70,48 +71,97 @@
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>testcontainers-dapr</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-actors</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-workflows</artifactId>
+        <version>0.15.0-SNAPSHOT</version>
path: dapr-spring/pom.xml
user: login: siri-varma
body: https://github.com/dapr/java-sdk/blob/99e21db46527040a59b1f73b257bf7d6ce80fb4b/sdk-workflows/pom.xml#L15

Yep, even I am not sure why this is different. This is how it was in the main branch, so I kept it for now. Planning to move it 1.15-SNAPSHOT in the next PR
created_at: 2025-05-06T14:03:58Z
author_association: CONTRIBUTOR
diff_hunk: @@ -33,7 +33,9 @@
     <maven.compiler.target>11</maven.compiler.target>
     <maven.compiler.release>11</maven.compiler.release>
     <testcontainers.version>1.19.8</testcontainers.version>
-    <junit.version>5.10.2</junit.version>
+    <junit.version>5.11.2</junit.version>
+    <dapr.spring.version>0.15.0-SNAPSHOT</dapr.spring.version>
+    <springframework.version>6.1.8</springframework.version>
path: dapr-spring/pom.xml
user: login: siri-varma
body: Actually the spring boot version is also coming from the dapr-spring/pom.xml. The github diff masked it. 

https://github.com/dapr/java-sdk/blob/99e21db46527040a59b1f73b257bf7d6ce80fb4b/dapr-spring/pom.xml#L31

The reason we must do this is because we are maintaining two different versions of Spring in the project.
created_at: 2025-05-06T14:10:18Z
author_association: CONTRIBUTOR
diff_hunk: @@ -33,7 +33,9 @@
     <maven.compiler.target>11</maven.compiler.target>
     <maven.compiler.release>11</maven.compiler.release>
     <testcontainers.version>1.19.8</testcontainers.version>
-    <junit.version>5.10.2</junit.version>
+    <junit.version>5.11.2</junit.version>
+    <dapr.spring.version>0.15.0-SNAPSHOT</dapr.spring.version>
+    <springframework.version>6.1.8</springframework.version>
path: dapr-spring/pom.xml
user: login: siri-varma
body: Moved it closer to the framework version. Just in case
created_at: 2025-05-06T14:11:27Z
author_association: CONTRIBUTOR
diff_hunk: @@ -18,19 +18,20 @@
     <dependency>
       <groupId>io.dapr.spring</groupId>
       <artifactId>dapr-spring-data</artifactId>
-      <version>${project.parent.version}</version>
       <optional>true</optional>
     </dependency>
path: dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
user: login: artur-ciocanu
body: Why do we need to bring in actors dependency explicitly?
created_at: 2025-05-14T15:03:01Z
author_association: CONTRIBUTOR
diff_hunk: @@ -71,9 +72,20 @@
     <dependency>
       <groupId>io.dapr</groupId>
       <artifactId>testcontainers-dapr</artifactId>
-      <version>${dapr.sdk.alpha.version}</version>
       <scope>test</scope>
     </dependency>
path: dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
user: login: artur-ciocanu
body: Any reason we need to bring these dependencies explicitly?
created_at: 2025-05-14T15:03:29Z
author_association: CONTRIBUTOR
diff_hunk: @@ -71,9 +72,20 @@
     <dependency>
       <groupId>io.dapr</groupId>
       <artifactId>testcontainers-dapr</artifactId>
-      <version>${dapr.sdk.alpha.version}</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-beans</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-context</artifactId>
+    </dependency>
+    <dependency>
path: dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
user: login: artur-ciocanu
body: This dependency should be marked as `test`
created_at: 2025-05-14T15:04:50Z
author_association: CONTRIBUTOR
diff_hunk: @@ -19,6 +19,10 @@
       <groupId>org.springframework.data</groupId>
       <artifactId>spring-data-keyvalue</artifactId>
     </dependency>
path: dapr-spring/dapr-spring-data/pom.xml
user: login: artur-ciocanu
body: Why do we need this explicit dependency?
created_at: 2025-05-14T15:05:28Z
author_association: CONTRIBUTOR
diff_hunk: @@ -14,6 +14,17 @@
   <description>Dapr Spring Messaging</description>
   <packaging>jar</packaging>
 
path: dapr-spring/dapr-spring-messaging/pom.xml
user: login: artur-ciocanu
body: Why do we need this explicit dependency?
created_at: 2025-05-14T15:05:49Z
author_association: CONTRIBUTOR
diff_hunk: @@ -15,10 +15,17 @@
   <packaging>jar</packaging>
 
   <dependencies>
path: dapr-spring/dapr-spring-workflows/pom.xml
user: login: artur-ciocanu
body: Why do we need this explicit dependency?
created_at: 2025-05-14T15:06:06Z
author_association: CONTRIBUTOR
diff_hunk: @@ -70,48 +71,97 @@
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>testcontainers-dapr</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-actors</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-workflows</artifactId>
path: dapr-spring/pom.xml
user: login: artur-ciocanu
body: This should have alpha version as well
created_at: 2025-05-14T15:07:18Z
author_association: CONTRIBUTOR
diff_hunk: @@ -70,48 +71,97 @@
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>testcontainers-dapr</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-actors</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-workflows</artifactId>
+        <version>0.16.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-data</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-messaging</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-workflows</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-boot-autoconfigure</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-boot-tests</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-springboot</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-context</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-beans</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
 
-    <!-- Spring dependencies -->
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-web</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-context</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-configuration-processor</artifactId>
-      <version>${springboot.version}</version>
-      <optional>true</optional>
-    </dependency>
+      <!-- Spring dependencies -->
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-web</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-configuration-processor</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-starter</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-autoconfigure-processor</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
 
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-starter-test</artifactId>
-      <version>${springboot.version}</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
+      <!-- Test dependencies -->
+      <dependency>
path: dapr-spring/pom.xml
user: login: artur-ciocanu
body: Shouldn't this be marked as `test`?
created_at: 2025-05-14T15:08:38Z
author_association: CONTRIBUTOR
diff_hunk: @@ -230,6 +230,11 @@
         <artifactId>spring-boot-testcontainers</artifactId>
         <version>${springboot.version}</version>
       </dependency>
+      <dependency>
path: pom.xml
user: login: artur-ciocanu
body: Shouldn't this be marked as `test`?
created_at: 2025-05-14T15:09:03Z
author_association: CONTRIBUTOR
diff_hunk: @@ -70,48 +71,97 @@
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>testcontainers-dapr</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-actors</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-workflows</artifactId>
+        <version>0.16.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-data</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-messaging</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-workflows</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-boot-autoconfigure</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
path: dapr-spring/pom.xml
user: login: artur-ciocanu
body: Shouldn't this be marked as test?
created_at: 2025-05-14T15:09:26Z
author_association: CONTRIBUTOR
diff_hunk: @@ -70,48 +71,97 @@
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
path: dapr-spring/pom.xml
user: login: artur-ciocanu
body: Shouldn't this be marked as test?
created_at: 2025-05-14T15:09:58Z
author_association: CONTRIBUTOR
diff_hunk: @@ -43,7 +45,6 @@
         <artifactId>spring-boot-dependencies</artifactId>
         <version>${springboot.version}</version>
         <type>pom</type>
-        <scope>import</scope>
       </dependency>
       <dependency>
path: dapr-spring/pom.xml
user: login: artur-ciocanu
body: Shouldn't this be marked as test?
created_at: 2025-05-14T15:10:25Z
author_association: CONTRIBUTOR
diff_hunk: @@ -19,6 +19,10 @@
       <groupId>org.springframework.data</groupId>
       <artifactId>spring-data-keyvalue</artifactId>
     </dependency>
path: dapr-spring/dapr-spring-data/pom.xml
user: login: siri-varma
body: We are using DaprClient in the Adapter classes. For eg, PostgreSQLDaprKeyValueAdapter. So, the sdk is needed for that
created_at: 2025-05-19T19:09:44Z
author_association: CONTRIBUTOR
diff_hunk: @@ -14,6 +14,17 @@
   <description>Dapr Spring Messaging</description>
   <packaging>jar</packaging>
 
path: dapr-spring/dapr-spring-messaging/pom.xml
user: login: siri-varma
body: SpringContext and Dapr SDK Client is being used in the messaging module. We will have to declare it explicity.

Also, one thing to note is, dapr-spring pom only has `dependency-management` section and not the `dependencies`. That is why dependencies need to be explicitly provided now
created_at: 2025-05-19T19:15:42Z
author_association: CONTRIBUTOR
diff_hunk: @@ -19,6 +19,10 @@
       <groupId>org.springframework.data</groupId>
       <artifactId>spring-data-keyvalue</artifactId>
     </dependency>
path: dapr-spring/dapr-spring-data/pom.xml
user: login: siri-varma
body: Also, one thing to note is, dapr-spring pom now only has `dependency-management` section and not the `dependencies`. That is why dependencies need to be explicitly provided now
created_at: 2025-05-19T19:15:47Z
author_association: CONTRIBUTOR
diff_hunk: @@ -43,7 +45,6 @@
         <artifactId>spring-boot-dependencies</artifactId>
         <version>${springboot.version}</version>
         <type>pom</type>
-        <scope>import</scope>
       </dependency>
       <dependency>
path: dapr-spring/pom.xml
user: login: siri-varma
body: Yes. Marked it in the parent piom
created_at: 2025-05-19T19:17:47Z
author_association: CONTRIBUTOR
diff_hunk: @@ -18,19 +18,20 @@
     <dependency>
       <groupId>io.dapr.spring</groupId>
       <artifactId>dapr-spring-data</artifactId>
-      <version>${project.parent.version}</version>
       <optional>true</optional>
     </dependency>
path: dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
user: login: siri-varma
body: dapr actors is being used in the DaprClientAutoConfiguration file
created_at: 2025-05-19T19:23:42Z
author_association: CONTRIBUTOR
diff_hunk: @@ -71,9 +72,20 @@
     <dependency>
       <groupId>io.dapr</groupId>
       <artifactId>testcontainers-dapr</artifactId>
-      <version>${dapr.sdk.alpha.version}</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-beans</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-context</artifactId>
+    </dependency>
+    <dependency>
path: dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
user: login: siri-varma
body: Will mark it in the parent pom
created_at: 2025-05-19T21:44:28Z
author_association: CONTRIBUTOR
diff_hunk: @@ -70,48 +71,97 @@
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
path: dapr-spring/pom.xml
user: login: siri-varma
body: done
created_at: 2025-05-19T21:50:39Z
author_association: CONTRIBUTOR
diff_hunk: @@ -70,48 +71,97 @@
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>testcontainers-dapr</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-actors</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-workflows</artifactId>
path: dapr-spring/pom.xml
user: login: siri-varma
body: done
created_at: 2025-05-19T21:50:44Z
author_association: CONTRIBUTOR
diff_hunk: @@ -70,48 +71,97 @@
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>testcontainers-dapr</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-actors</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-workflows</artifactId>
+        <version>0.16.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-data</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-messaging</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-workflows</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-boot-autoconfigure</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
path: dapr-spring/pom.xml
user: login: siri-varma
body: done
created_at: 2025-05-19T21:51:02Z
author_association: CONTRIBUTOR
diff_hunk: @@ -70,48 +71,97 @@
         <artifactId>junit-jupiter</artifactId>
         <version>${testcontainers.version}</version>
       </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <!-- Dapr dependencies -->
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>io.dapr</groupId>
-      <artifactId>dapr-sdk-actors</artifactId>
-      <version>${dapr.sdk.version}</version>
-    </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>testcontainers-dapr</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-actors</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-workflows</artifactId>
+        <version>0.16.0-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-data</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-messaging</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-workflows</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-boot-autoconfigure</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-boot-tests</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-springboot</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-context</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-beans</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
 
-    <!-- Spring dependencies -->
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-web</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-context</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-configuration-processor</artifactId>
-      <version>${springboot.version}</version>
-      <optional>true</optional>
-    </dependency>
+      <!-- Spring dependencies -->
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-web</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-configuration-processor</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-starter</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-autoconfigure-processor</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
 
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-starter-test</artifactId>
-      <version>${springboot.version}</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
+      <!-- Test dependencies -->
+      <dependency>
path: dapr-spring/pom.xml
user: login: siri-varma
body: done
created_at: 2025-05-19T21:51:07Z
author_association: CONTRIBUTOR
diff_hunk: @@ -230,6 +230,11 @@
         <artifactId>spring-boot-testcontainers</artifactId>
         <version>${springboot.version}</version>
       </dependency>
+      <dependency>
path: pom.xml
user: login: siri-varma
body: Classes in the test container dapr are being used in dapr-spring. So this cannot be marked as test
created_at: 2025-05-19T21:51:14Z
author_association: CONTRIBUTOR
diff_hunk: @@ -71,9 +72,20 @@
     <dependency>
       <groupId>io.dapr</groupId>
       <artifactId>testcontainers-dapr</artifactId>
-      <version>${dapr.sdk.alpha.version}</version>
       <scope>test</scope>
     </dependency>
path: dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
user: login: siri-varma
body: Its being used in the module

Also, one thing to note is, dapr-spring pom now only has dependency-management section and not the dependencies. That is why dependencies need to be explicitly provided now
created_at: 2025-05-19T21:57:03Z
author_association: CONTRIBUTOR
diff_hunk: @@ -15,10 +15,17 @@
   <packaging>jar</packaging>
 
   <dependencies>
path: dapr-spring/dapr-spring-workflows/pom.xml
user: login: siri-varma
body: Being used in the module

Also, one thing to note is, dapr-spring pom only has dependency-management section and not the dependencies. That is why dependencies need to be explicitly provided now
created_at: 2025-05-19T21:57:45Z
author_association: CONTRIBUTOR
diff_hunk: @@ -43,76 +45,125 @@
         <artifactId>spring-boot-dependencies</artifactId>
         <version>${springboot.version}</version>
         <type>pom</type>
-        <scope>import</scope>
       </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-actors</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-workflows</artifactId>
+        <version>${dapr.sdk.alpha.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-data</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-messaging</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-workflows</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-boot-autoconfigure</artifactId>
+        <version>${dapr.spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr</groupId>
+        <artifactId>dapr-sdk-springboot</artifactId>
+        <version>${dapr.sdk.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-context</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-beans</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
+
+      <!-- Spring dependencies -->
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-web</artifactId>
+        <version>${springframework.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-configuration-processor</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-starter</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-autoconfigure-processor</artifactId>
+        <version>${springboot.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>io.dapr.spring</groupId>
+        <artifactId>dapr-spring-boot-tests</artifactId>
+        <version>${dapr.spring.version}</version>
path: dapr-spring/pom.xml
user: login: siri-varma
body: Just fyi this cannot be marked as test because it is being used in the spring-boot-example
created_at: 2025-05-20T05:57:24Z
author_association: CONTRIBUTOR
diff_hunk: @@ -55,6 +55,15 @@
       <artifactId>rest-assured</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
path: spring-boot-examples/consumer-app/pom.xml
user: login: siri-varma
body: We need to explicitly include these because they are being used in the consumer-app

Previously, because they were not marked as test, it worked because they were transitively being pulled
created_at: 2025-05-20T05:58:37Z
author_association: CONTRIBUTOR
diff_hunk: @@ -55,6 +55,15 @@
       <artifactId>rest-assured</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-starter-test</artifactId>
path: spring-boot-examples/consumer-app/pom.xml
user: login: siri-varma
body: Already declared as test in the parent pom
created_at: 2025-05-20T06:04:05Z
author_association: CONTRIBUTOR
diff_hunk: @@ -28,12 +28,14 @@
   </modules>
 
   <properties>
-    <springboot.version>3.2.6</springboot.version>
     <maven.compiler.source>11</maven.compiler.source>
     <maven.compiler.target>11</maven.compiler.target>
     <maven.compiler.release>11</maven.compiler.release>
     <testcontainers.version>1.19.8</testcontainers.version>
-    <junit.version>5.10.2</junit.version>
+    <junit.version>5.11.2</junit.version>
+    <dapr.spring.version>0.16.0-SNAPSHOT</dapr.spring.version>
+    <springboot.version>3.2.6</springboot.version>
path: dapr-spring/pom.xml
user: login: salaboy
body: We should upgrade to 3.4.5. It is a good time to do so
created_at: 2025-05-28T14:12:58Z
author_association: COLLABORATOR
diff_hunk: @@ -129,11 +129,11 @@
         <version>${grpc.version}</version>
         <scope>test</scope>
       </dependency>
-    <dependency>
-      <groupId>org.jetbrains.kotlin</groupId>
-      <artifactId>kotlin-stdlib</artifactId>
-      <version>2.1.0</version>
-    </dependency>
+      <dependency>
path: pom.xml
user: login: salaboy
body: I don't even want to know why we need this :) 
created_at: 2025-05-28T14:13:44Z
author_association: COLLABORATOR

PR comments:
user: login: siri-varma
created_at: 2025-05-10T01:02:10Z
body: @salaboy addressed all your comments. Thank you
author_association: CONTRIBUTOR
user: login: siri-varma
created_at: 2025-05-20T06:22:33Z
body: @artur-ciocanu / @salaboy / @dapr-java-sdk-reveiwers PR is ready to be reviewed. Thank you
author_association: CONTRIBUTOR
user: login: siri-varma
created_at: 2025-05-22T16:44:08Z
body: @artur-ciocanu / @dapr-java-sdk-reviewer / @salaboy 

Just a gentle reminder about this PR. Thank you
author_association: CONTRIBUTOR
user: login: artur-ciocanu
created_at: 2025-05-23T19:15:35Z
body: @siri-varma could you address the conflicts and resend the PR. Thank you!
author_association: CONTRIBUTOR
user: login: artur-ciocanu
created_at: 2025-05-23T19:18:27Z
body: @salaboy could you please take another look? From my perspective managing ALL the dependencies in a single place is a good idea. We used to have separate "code bases" for SDK and SDK tests, but almost a year ago I have added support for Maven profiles to be able to properly develop in an IDE.

So to recap I think moving all the deps to parent POM will allow us to upgrade more easily and have better control over dependencies.
author_association: CONTRIBUTOR
user: login: siri-varma
created_at: 2025-05-23T20:42:24Z
body: @artur-ciocanu resolved the comments. Thank you
author_association: CONTRIBUTOR
user: login: artur-ciocanu
created_at: 2025-05-27T15:29:38Z
body: @salaboy could you please take a look?
author_association: CONTRIBUTOR
user: login: salaboy
created_at: 2025-05-28T14:14:43Z
body: @artur-ciocanu @siri-varma and @dapr/maintainers-java-sdk I think this is good to merge.. we need to try to define when to upgrade to 3.4.5 of spring boot. I need to check the pipelines to make sure that we are testing with that version. 
author_association: COLLABORATOR
user: login: salaboy
created_at: 2025-05-28T14:16:45Z
body: @dapr/maintainers-java-sdk please merge
author_association: COLLABORATOR
user: login: siri-varma
created_at: 2025-05-28T14:23:19Z
body: Thanks a lot everyone for the feedback and reviews
author_association: CONTRIBUTOR
user: login: siri-varma
created_at: 2025-05-28T21:35:02Z
body: @cicoyle / @artur-ciocanu This PR is ready to be merged.

Created a separate issue to track the flaky build
author_association: CONTRIBUTOR
user: login: codecov[bot]
created_at: 2025-05-29T04:38:09Z
body: ## [Codecov](https://app.codecov.io/gh/dapr/java-sdk/pull/1334?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dapr) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 78.17%. Comparing base [(`d759c53`)](https://app.codecov.io/gh/dapr/java-sdk/commit/d759c53f8c110fac13056e3d484a3e5f233e0dad?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dapr) to head [(`f52e021`)](https://app.codecov.io/gh/dapr/java-sdk/commit/f52e02125c8ba39ae07c7a0ce272d717cae85af1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dapr).
> Report is 159 commits behind head on master.

<details><summary>Additional details and impacted files</summary>


```diff
@@             Coverage Diff              @@
##             master    #1334      +/-   ##
============================================
+ Coverage     76.91%   78.17%   +1.25%     
- Complexity     1592     1831     +239     
============================================
  Files           145      223      +78     
  Lines          4843     5663     +820     
  Branches        562      601      +39     
============================================
+ Hits           3725     4427     +702     
- Misses          821      916      +95     
- Partials        297      320      +23     
```

</details>

[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/dapr/java-sdk/pull/1334?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dapr).   
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dapr).

<details><summary> :rocket: New features to boost your workflow: </summary>

- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
</details>
author_association: NONE