diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ae840537db..dd6a9682b0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -146,7 +146,7 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: build
- timeout-minutes: 10
+ timeout-minutes: 30
env:
JDK_VER: 17
OSSRH_USER_TOKEN: ${{ secrets.OSSRH_USER_TOKEN }}
diff --git a/pom.xml b/pom.xml
index 65e935c797..5ab3051c25 100644
--- a/pom.xml
+++ b/pom.xml
@@ -168,6 +168,11 @@
nexus-staging-maven-plugin
${nexus-staging-maven-plugin.version}
true
+
+ ossrh
+ https://oss.sonatype.org/
+ true
+
@@ -210,17 +215,6 @@
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.13
- true
-
- ossrh
- https://oss.sonatype.org/
- true
-
-
org.apache.maven.plugins
maven-checkstyle-plugin
diff --git a/spring-boot-examples/consumer-app/pom.xml b/spring-boot-examples/consumer-app/pom.xml
index 0ff2e257cc..9255bb13a0 100644
--- a/spring-boot-examples/consumer-app/pom.xml
+++ b/spring-boot-examples/consumer-app/pom.xml
@@ -83,6 +83,7 @@
org.springframework.boot
spring-boot-maven-plugin
+ ${springboot.version}
org.apache.maven.plugins