diff --git a/spring-aop-2/pom.xml b/spring-aop-2/pom.xml
index e4748cdcbf..056e248a3c 100644
--- a/spring-aop-2/pom.xml
+++ b/spring-aop-2/pom.xml
@@ -51,8 +51,4 @@
-
- 1.14.0
-
-
\ No newline at end of file
diff --git a/spring-batch/pom.xml b/spring-batch/pom.xml
index 810ddcdcdd..7d9becf089 100644
--- a/spring-batch/pom.xml
+++ b/spring-batch/pom.xml
@@ -25,7 +25,7 @@
jakarta.xml.bind
jakarta.xml.bind-api
- 4.0.0
+ ${jakarta.xml.bind-api}
org.glassfish.jaxb
@@ -75,6 +75,7 @@
6.0.6
5.7.1
+ 4.0.0
4.0.2
2.14.2
4.5.14
diff --git a/spring-boot-modules/spring-boot-3-observation/pom.xml b/spring-boot-modules/spring-boot-3-observation/pom.xml
index f69ce699bc..b0d179e365 100644
--- a/spring-boot-modules/spring-boot-3-observation/pom.xml
+++ b/spring-boot-modules/spring-boot-3-observation/pom.xml
@@ -66,7 +66,7 @@
com.github.gavlyukovskiy
p6spy-spring-boot-starter
- 1.9.0
+ ${p6spy-spring-boot-starter.version}
com.h2database
@@ -84,6 +84,7 @@
com.baeldung.samples.SimpleObservationApplication
+ 1.9.0
diff --git a/spring-boot-modules/spring-boot-3-test-pitfalls/pom.xml b/spring-boot-modules/spring-boot-3-test-pitfalls/pom.xml
index f3ed67e87b..4aa4ab470b 100644
--- a/spring-boot-modules/spring-boot-3-test-pitfalls/pom.xml
+++ b/spring-boot-modules/spring-boot-3-test-pitfalls/pom.xml
@@ -69,7 +69,7 @@
org.projectlombok
lombok-mapstruct-binding
- 0.2.0
+ ${lombok-mapstruct-binding.version}
@@ -80,6 +80,7 @@
1.5.3.Final
+ 0.2.0
3.0.0-M7
diff --git a/spring-boot-modules/spring-boot-3-url-matching/pom.xml b/spring-boot-modules/spring-boot-3-url-matching/pom.xml
index 0ed6fdbd9b..aa83a676d7 100644
--- a/spring-boot-modules/spring-boot-3-url-matching/pom.xml
+++ b/spring-boot-modules/spring-boot-3-url-matching/pom.xml
@@ -46,13 +46,13 @@
org.springframework
spring-test
- 6.0.6
+ ${spring-test.version}
test
javax.servlet
javax.servlet-api
- 3.1.0
+ ${javax.servlet-api.version}
provided
@@ -62,12 +62,12 @@
io.projectreactor
reactor-core
- 3.5.4
+ ${reactor-core.version}
io.projectreactor
reactor-test
- 3.5.4
+ ${reactor-test.version}
test
@@ -78,7 +78,6 @@
org.apache.maven.plugins
maven-compiler-plugin
-
org.springframework.boot
@@ -95,6 +94,10 @@
+ 6.0.6
+ 3.1.0
+ 3.5.4
+ 3.5.4>
3.0.0-M7
diff --git a/spring-boot-modules/spring-boot-3/pom.xml b/spring-boot-modules/spring-boot-3/pom.xml
index 8fe995ca91..369ba30b5a 100644
--- a/spring-boot-modules/spring-boot-3/pom.xml
+++ b/spring-boot-modules/spring-boot-3/pom.xml
@@ -107,7 +107,7 @@
org.projectlombok
lombok-mapstruct-binding
- 0.2.0
+ ${lombok-mapstruct-binding.version}
@@ -149,6 +149,7 @@
3.0.0-M7
com.baeldung.sample.TodoApplication
5.14.0
+ 0.2.0
\ No newline at end of file
diff --git a/spring-boot-modules/spring-boot-artifacts/pom.xml b/spring-boot-modules/spring-boot-artifacts/pom.xml
index 996ed92014..dedeb0ab2a 100644
--- a/spring-boot-modules/spring-boot-artifacts/pom.xml
+++ b/spring-boot-modules/spring-boot-artifacts/pom.xml
@@ -99,7 +99,7 @@
org.apache.maven.plugins
maven-failsafe-plugin
- 2.18
+ ${maven-failsafe-plugin.version}
@@ -193,6 +193,7 @@
2.2.4
3.1.7
4.5.8
+ 2.18
\ No newline at end of file
diff --git a/spring-boot-modules/spring-boot-aws/pom.xml b/spring-boot-modules/spring-boot-aws/pom.xml
index 2abce7df76..12a65908af 100644
--- a/spring-boot-modules/spring-boot-aws/pom.xml
+++ b/spring-boot-modules/spring-boot-aws/pom.xml
@@ -14,9 +14,6 @@
spring-boot-modules
1.0.0-SNAPSHOT
-
- 1.9.1
-
@@ -43,7 +40,7 @@
org.apache.maven.plugins
maven-shade-plugin
- 3.2.4
+ ${maven-shade-plugin.version}
false
@@ -74,4 +71,9 @@
+
+ 1.9.1
+ 3.2.4
+
+
\ No newline at end of file
diff --git a/spring-boot-modules/spring-boot-basic-customization/pom.xml b/spring-boot-modules/spring-boot-basic-customization/pom.xml
index 20b2980f29..4b1009d38a 100644
--- a/spring-boot-modules/spring-boot-basic-customization/pom.xml
+++ b/spring-boot-modules/spring-boot-basic-customization/pom.xml
@@ -34,11 +34,6 @@
-
-
- com.baeldung.changeport.CustomApplication
-
-
errorhandling
@@ -77,7 +72,7 @@
org.springframework.boot
spring-boot-maven-plugin
- 1.5.2.RELEASE
+ ${spring-boot-maven-plugin.version}
${spring.boot.mainclass}
@@ -85,4 +80,11 @@
+
+ 1.5.2.RELEASE
+
+ com.baeldung.changeport.CustomApplication
+
+
+
\ No newline at end of file