diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2e95d3e25..ae840537d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -181,4 +181,4 @@ jobs:
echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d > private-key.gpg
export GPG_TTY=$(tty)
gpg --batch --import private-key.gpg
- ./mvnw -V -B -Dgpg.skip=false -s settings.xml -Pdeploy-profile deploy
+ ./mvnw -V -B -Dgpg.skip=false -s settings.xml deploy
diff --git a/dapr-spring/dapr-spring-boot-autoconfigure/pom.xml b/dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
index 559f9139e..3eca52652 100644
--- a/dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
+++ b/dapr-spring/dapr-spring-boot-autoconfigure/pom.xml
@@ -75,5 +75,12 @@
test
-
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
+
+
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 a2f5aeda8..623e1c1cd 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
@@ -40,5 +40,12 @@
true
-
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
+
+
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 eb3f02d14..623040b37 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
@@ -47,4 +47,12 @@
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
+
+
diff --git a/dapr-spring/dapr-spring-boot-tests/pom.xml b/dapr-spring/dapr-spring-boot-tests/pom.xml
index 851da4bed..86286c08f 100644
--- a/dapr-spring/dapr-spring-boot-tests/pom.xml
+++ b/dapr-spring/dapr-spring-boot-tests/pom.xml
@@ -41,5 +41,12 @@
${dapr.sdk.alpha.version}
-
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
+
+
diff --git a/dapr-spring/dapr-spring-data/pom.xml b/dapr-spring/dapr-spring-data/pom.xml
index e4a65b505..1de4b563d 100644
--- a/dapr-spring/dapr-spring-data/pom.xml
+++ b/dapr-spring/dapr-spring-data/pom.xml
@@ -21,4 +21,12 @@
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
+
+
diff --git a/dapr-spring/dapr-spring-messaging/pom.xml b/dapr-spring/dapr-spring-messaging/pom.xml
index b0ce17a6e..7b74a85a8 100644
--- a/dapr-spring/dapr-spring-messaging/pom.xml
+++ b/dapr-spring/dapr-spring-messaging/pom.xml
@@ -14,4 +14,12 @@
Dapr Spring Messaging
jar
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
+
+
diff --git a/dapr-spring/dapr-spring-workflows/pom.xml b/dapr-spring/dapr-spring-workflows/pom.xml
index e885fe42f..55708f500 100644
--- a/dapr-spring/dapr-spring-workflows/pom.xml
+++ b/dapr-spring/dapr-spring-workflows/pom.xml
@@ -21,4 +21,12 @@
${project.version}
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
+
+
diff --git a/dapr-spring/pom.xml b/dapr-spring/pom.xml
index e8b7eb127..04f59acaa 100644
--- a/dapr-spring/pom.xml
+++ b/dapr-spring/pom.xml
@@ -92,6 +92,10 @@
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
org.apache.maven.plugins
maven-source-plugin
diff --git a/examples/pom.xml b/examples/pom.xml
index 0380911f7..1bd044859 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -21,7 +21,6 @@
17
${java.version}
${java.version}
- true
false
0.14.0
@@ -184,14 +183,6 @@
${java.version}
-
- org.apache.maven.plugins
- maven-deploy-plugin
- ${maven-deploy-plugin.version}
-
- true
-
-
org.apache.maven.plugins
maven-site-plugin
diff --git a/pom.xml b/pom.xml
index bf727fe94..65e935c79 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,6 +46,7 @@
2.0
1.20.0
3.4.3
+ 1.7.0
@@ -162,10 +163,20 @@
maven-resources-plugin
${maven-resources-plugin.version}
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ ${nexus-staging-maven-plugin.version}
+ true
+
-
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ false
+
org.jacoco
jacoco-maven-plugin
@@ -343,19 +354,6 @@
-
- deploy-profile
-
-
- sdk-autogen
- sdk
- sdk-actors
- sdk-springboot
- sdk-workflows
- testcontainers-dapr
- dapr-spring
-
-
integration-tests
diff --git a/sdk-actors/pom.xml b/sdk-actors/pom.xml
index 221271a4a..f3fe249bd 100644
--- a/sdk-actors/pom.xml
+++ b/sdk-actors/pom.xml
@@ -70,6 +70,10 @@
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
org.apache.maven.plugins
maven-source-plugin
diff --git a/sdk-autogen/pom.xml b/sdk-autogen/pom.xml
index c655a8e13..0f82c5693 100644
--- a/sdk-autogen/pom.xml
+++ b/sdk-autogen/pom.xml
@@ -64,6 +64,10 @@
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
com.googlecode.maven-download-plugin
download-maven-plugin
diff --git a/sdk-springboot/pom.xml b/sdk-springboot/pom.xml
index 21a8defd0..c2f0da488 100644
--- a/sdk-springboot/pom.xml
+++ b/sdk-springboot/pom.xml
@@ -16,10 +16,6 @@
dapr-sdk-springboot
SDK extension for Springboot
-
- false
-
-
@@ -85,6 +81,10 @@
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
org.apache.maven.plugins
maven-source-plugin
diff --git a/sdk-workflows/pom.xml b/sdk-workflows/pom.xml
index 7c6afbf45..a5c4ae949 100644
--- a/sdk-workflows/pom.xml
+++ b/sdk-workflows/pom.xml
@@ -16,10 +16,6 @@
dapr-sdk-workflows
SDK for Workflows on Dapr
-
- false
-
-
io.dapr
@@ -82,6 +78,10 @@
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
org.apache.maven.plugins
maven-source-plugin
diff --git a/sdk/pom.xml b/sdk/pom.xml
index c608e30bb..a97f506df 100644
--- a/sdk/pom.xml
+++ b/sdk/pom.xml
@@ -147,6 +147,10 @@
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
org.apache.maven.plugins
maven-resources-plugin
diff --git a/spring-boot-examples/consumer-app/pom.xml b/spring-boot-examples/consumer-app/pom.xml
index 1439daa89..0ff2e257c 100644
--- a/spring-boot-examples/consumer-app/pom.xml
+++ b/spring-boot-examples/consumer-app/pom.xml
@@ -91,14 +91,6 @@
true
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
- ${maven-deploy-plugin.version}
-
- true
-
org.apache.maven.plugins
diff --git a/spring-boot-examples/pom.xml b/spring-boot-examples/pom.xml
index 9903f96d7..4ed1fbe49 100644
--- a/spring-boot-examples/pom.xml
+++ b/spring-boot-examples/pom.xml
@@ -23,15 +23,6 @@
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
- ${springboot.version}
-
-
-
org.apache.maven.plugins
@@ -40,14 +31,6 @@
true
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
- ${maven-deploy-plugin.version}
-
- true
-
org.apache.maven.plugins
diff --git a/spring-boot-examples/producer-app/pom.xml b/spring-boot-examples/producer-app/pom.xml
index 451b19979..dd7a4fee5 100644
--- a/spring-boot-examples/producer-app/pom.xml
+++ b/spring-boot-examples/producer-app/pom.xml
@@ -76,6 +76,7 @@
org.springframework.boot
spring-boot-maven-plugin
+ ${springboot.version}
org.apache.maven.plugins
@@ -93,14 +94,6 @@
true
-
- org.apache.maven.plugins
- maven-deploy-plugin
- ${maven-deploy-plugin.version}
-
- true
-
-
diff --git a/testcontainers-dapr/pom.xml b/testcontainers-dapr/pom.xml
index 9a0584329..13110b70b 100644
--- a/testcontainers-dapr/pom.xml
+++ b/testcontainers-dapr/pom.xml
@@ -45,6 +45,10 @@
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
org.apache.maven.plugins
maven-source-plugin