Skip to content

Commit 11417d3

Browse files
authored
JAVA-27537 Upgrade spring-soap to Spring Boot 3 (#15438)
1 parent a5b9e8f commit 11417d3

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

spring-soap/pom.xml

+6-10
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
<parent>
1111
<groupId>com.baeldung</groupId>
12-
<artifactId>parent-boot-2</artifactId>
12+
<artifactId>parent-boot-3</artifactId>
1313
<version>0.0.1-SNAPSHOT</version>
14-
<relativePath>../parent-boot-2</relativePath>
14+
<relativePath>../parent-boot-3</relativePath>
1515
</parent>
1616

1717
<dependencies>
@@ -42,10 +42,6 @@
4242
<artifactId>jaxb-runtime</artifactId>
4343
</dependency>
4444

45-
<dependency>
46-
<groupId>javax.xml.bind</groupId>
47-
<artifactId>jaxb-api</artifactId>
48-
</dependency>
4945
</dependencies>
5046

5147
<build>
@@ -77,9 +73,9 @@
7773
</plugin>
7874
<!-- end::xsd[] -->
7975
<plugin>
80-
<groupId>org.jvnet.jaxb2.maven2</groupId>
81-
<artifactId>maven-jaxb2-plugin</artifactId>
82-
<version>${maven-jaxb2-plugin.version}</version>
76+
<groupId>org.jvnet.jaxb</groupId>
77+
<artifactId>jaxb-maven-plugin</artifactId>
78+
<version>${jaxb-maven-plugin.version}</version>
8379
<executions>
8480
<execution>
8581
<goals>
@@ -103,7 +99,7 @@
10399

104100
<properties>
105101
<jakarta.xml.bind-api.version>4.0.0</jakarta.xml.bind-api.version>
102+
<jaxb-maven-plugin.version>4.0.0</jaxb-maven-plugin.version>
106103
<jaxb2-maven-plugin.version>3.1.0</jaxb2-maven-plugin.version>
107-
<maven-jaxb2-plugin.version>0.15.3</maven-jaxb2-plugin.version>
108104
</properties>
109105
</project>

spring-soap/src/main/java/com/baeldung/springsoap/CountryRepository.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.util.HashMap;
44
import java.util.Map;
55

6-
import javax.annotation.PostConstruct;
6+
import jakarta.annotation.PostConstruct;
77

88
import org.springframework.stereotype.Component;
99
import org.springframework.util.Assert;

0 commit comments

Comments
 (0)