diff --git a/persistence-modules/spring-jooq/pom.xml b/persistence-modules/spring-jooq/pom.xml
index 1387635afe..230397da9d 100644
--- a/persistence-modules/spring-jooq/pom.xml
+++ b/persistence-modules/spring-jooq/pom.xml
@@ -194,7 +194,7 @@
1.0.0
1.5
1.0.0
- 3.1.5
+
2.2.224
\ No newline at end of file
diff --git a/persistence-modules/spring-mybatis/pom.xml b/persistence-modules/spring-mybatis/pom.xml
index d179881710..f164f4b6f9 100644
--- a/persistence-modules/spring-mybatis/pom.xml
+++ b/persistence-modules/spring-mybatis/pom.xml
@@ -19,12 +19,10 @@
org.springframework
spring-context
- ${org.springframework.version}
org.springframework
spring-beans
- ${org.springframework.version}
@@ -36,12 +34,10 @@
com.h2database
h2
- ${h2.version}
org.springframework
spring-jdbc
- ${org.springframework.version}
org.mybatis
@@ -61,7 +57,6 @@
org.springframework
spring-test
- ${org.springframework.version}
test
@@ -77,14 +72,10 @@
-
- 6.0.13
-
3.0.3
3.5.2
3.0.3
true
- 3.1.5
\ No newline at end of file
diff --git a/spring-boot-modules/spring-boot-properties/pom.xml b/spring-boot-modules/spring-boot-properties/pom.xml
index 7614941f2d..fa3fc954b3 100644
--- a/spring-boot-modules/spring-boot-properties/pom.xml
+++ b/spring-boot-modules/spring-boot-properties/pom.xml
@@ -104,6 +104,13 @@
false
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ true
+
+
@@ -142,12 +149,11 @@
- 2022.0.4
+ 2023.0.0
1.10
@
com.baeldung.yaml.MyApplication
- 3.1.5
\ No newline at end of file
diff --git a/spring-boot-modules/spring-boot-ssl-bundles/pom.xml b/spring-boot-modules/spring-boot-ssl-bundles/pom.xml
index 8edbd9c79e..1f4e58f21f 100644
--- a/spring-boot-modules/spring-boot-ssl-bundles/pom.xml
+++ b/spring-boot-modules/spring-boot-ssl-bundles/pom.xml
@@ -53,7 +53,6 @@
5.0.3
- 3.1.5
\ No newline at end of file
diff --git a/spring-boot-modules/spring-boot-ssl-bundles/src/main/java/com/baeldung/springbootsslbundles/SecureRestTemplateConfig.java b/spring-boot-modules/spring-boot-ssl-bundles/src/main/java/com/baeldung/springbootsslbundles/SecureRestTemplateConfig.java
index 48eda219dd..cae3b24d8c 100644
--- a/spring-boot-modules/spring-boot-ssl-bundles/src/main/java/com/baeldung/springbootsslbundles/SecureRestTemplateConfig.java
+++ b/spring-boot-modules/spring-boot-ssl-bundles/src/main/java/com/baeldung/springbootsslbundles/SecureRestTemplateConfig.java
@@ -27,7 +27,7 @@ public class SecureRestTemplateConfig {
this.sslContext = sslBundle.createSslContext();
}
- @Bean
+ @Bean(name="secureRestTemplate")
public RestTemplate secureRestTemplate() {
final SSLConnectionSocketFactory sslSocketFactory = SSLConnectionSocketFactoryBuilder.create().setSslContext(this.sslContext).build();
final HttpClientConnectionManager cm = PoolingHttpClientConnectionManagerBuilder.create().setSSLSocketFactory(sslSocketFactory).build();
diff --git a/spring-boot-modules/spring-boot-ssl-bundles/src/main/java/com/baeldung/springbootsslbundles/SecureServiceRestApi.java b/spring-boot-modules/spring-boot-ssl-bundles/src/main/java/com/baeldung/springbootsslbundles/SecureServiceRestApi.java
index 3ed919b957..d7b87c4c5a 100644
--- a/spring-boot-modules/spring-boot-ssl-bundles/src/main/java/com/baeldung/springbootsslbundles/SecureServiceRestApi.java
+++ b/spring-boot-modules/spring-boot-ssl-bundles/src/main/java/com/baeldung/springbootsslbundles/SecureServiceRestApi.java
@@ -1,6 +1,7 @@
package com.baeldung.springbootsslbundles;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.http.HttpMethod;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
@@ -11,7 +12,7 @@ public class SecureServiceRestApi {
private final RestTemplate restTemplate;
@Autowired
- public SecureServiceRestApi(RestTemplate restTemplate) {
+ public SecureServiceRestApi(@Qualifier("secureRestTemplate") RestTemplate restTemplate) {
this.restTemplate = restTemplate;
}
diff --git a/spring-jinq/pom.xml b/spring-jinq/pom.xml
index 4ba2028bc6..4695950153 100644
--- a/spring-jinq/pom.xml
+++ b/spring-jinq/pom.xml
@@ -38,7 +38,6 @@
org.hibernate.orm
hibernate-core
- ${hibernate-core.version}
@@ -65,7 +64,6 @@
2.0.1
6.4.2.Final
- 3.1.5
\ No newline at end of file
diff --git a/spring-reactive-modules/spring-reactive-exceptions/pom.xml b/spring-reactive-modules/spring-reactive-exceptions/pom.xml
index e9208c8b20..1f24f9cd1c 100644
--- a/spring-reactive-modules/spring-reactive-exceptions/pom.xml
+++ b/spring-reactive-modules/spring-reactive-exceptions/pom.xml
@@ -51,11 +51,14 @@
JAR
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ true
+
+
-
- 3.1.5
-
-
diff --git a/spring-web-modules/spring-rest-http/pom.xml b/spring-web-modules/spring-rest-http/pom.xml
index 8d3ea82c44..f93e4274e9 100644
--- a/spring-web-modules/spring-rest-http/pom.xml
+++ b/spring-web-modules/spring-rest-http/pom.xml
@@ -71,6 +71,13 @@
true
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ true
+
+