Skip to content

Commit fc543ca

Browse files
author
chaos2418
committed
JAVA-8736: fixing plugin versions in core-java-11-2 to work with JDK 17
1 parent 3f793d1 commit fc543ca

7 files changed

Lines changed: 29 additions & 42 deletions

File tree

core-java-modules/core-java-11-2/pom.xml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,6 @@
3636
<artifactId>jakarta.xml.ws-api</artifactId>
3737
<version>${jakarta.ws-api.version}</version>
3838
</dependency>
39-
<dependency>
40-
<groupId>com.sun.xml.ws</groupId>
41-
<artifactId>jaxws-rt</artifactId>
42-
<version>${jaxws-rt.version}</version>
43-
<scope>runtime</scope>
44-
</dependency>
45-
<dependency>
46-
<groupId>com.sun.xml.ws</groupId>
47-
<artifactId>jaxws-ri</artifactId>
48-
<version>${jaxws-ri.version}</version>
49-
<type>pom</type>
50-
</dependency>
5139
</dependencies>
5240

5341
<build>
@@ -83,10 +71,10 @@
8371
<maven.compiler.target.version>11</maven.compiler.target.version>
8472
<guava.version>29.0-jre</guava.version>
8573
<mockserver.version>5.11.1</mockserver.version>
86-
<jakarta.ws-api.version>3.0.0</jakarta.ws-api.version>
87-
<jaxws-rt.version>3.0.0</jaxws-rt.version>
88-
<jaxws-ri.version>2.3.1</jaxws-ri.version>
89-
<jaxws-maven-plugin.version>2.3.2</jaxws-maven-plugin.version>
74+
<jakarta.ws-api.version>3.0.1</jakarta.ws-api.version>
75+
<jaxws-rt.version>3.0.2</jaxws-rt.version>
76+
<jaxws-ri.version>3.0.2</jaxws-ri.version>
77+
<jaxws-maven-plugin.version>3.0.2</jaxws-maven-plugin.version>
9078
</properties>
9179

9280
</project>

core-java-modules/core-java-11-2/src/main/java/com/baeldung/soap/ws/client/generated/Country.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22
package com.baeldung.soap.ws.client.generated;
33

4-
import javax.xml.bind.annotation.XmlAccessType;
5-
import javax.xml.bind.annotation.XmlAccessorType;
6-
import javax.xml.bind.annotation.XmlSchemaType;
7-
import javax.xml.bind.annotation.XmlType;
4+
import jakarta.xml.bind.annotation.XmlAccessType;
5+
import jakarta.xml.bind.annotation.XmlAccessorType;
6+
import jakarta.xml.bind.annotation.XmlSchemaType;
7+
import jakarta.xml.bind.annotation.XmlType;
88

99

1010
/**

core-java-modules/core-java-11-2/src/main/java/com/baeldung/soap/ws/client/generated/CountryService.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11

22
package com.baeldung.soap.ws.client.generated;
33

4-
import javax.jws.WebMethod;
5-
import javax.jws.WebParam;
6-
import javax.jws.WebResult;
7-
import javax.jws.WebService;
8-
import javax.jws.soap.SOAPBinding;
9-
import javax.xml.bind.annotation.XmlSeeAlso;
10-
import javax.xml.ws.Action;
4+
import jakarta.jws.WebMethod;
5+
import jakarta.jws.WebParam;
6+
import jakarta.jws.WebResult;
7+
import jakarta.jws.WebService;
8+
import jakarta.jws.soap.SOAPBinding;
9+
import jakarta.xml.bind.annotation.XmlSeeAlso;
10+
import jakarta.xml.ws.Action;
1111

1212

1313
/**
1414
* This class was generated by the JAX-WS RI.
15-
* JAX-WS RI 2.3.2
16-
* Generated source version: 2.2
15+
* JAX-WS RI 3.0.2
16+
* Generated source version: 3.0
1717
*
1818
*/
1919
@WebService(name = "CountryService", targetNamespace = "http://server.ws.soap.baeldung.com/")

core-java-modules/core-java-11-2/src/main/java/com/baeldung/soap/ws/client/generated/CountryServiceImplService.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
import java.net.MalformedURLException;
55
import java.net.URL;
66
import javax.xml.namespace.QName;
7-
import javax.xml.ws.Service;
8-
import javax.xml.ws.WebEndpoint;
9-
import javax.xml.ws.WebServiceClient;
10-
import javax.xml.ws.WebServiceException;
11-
import javax.xml.ws.WebServiceFeature;
7+
import jakarta.xml.ws.Service;
8+
import jakarta.xml.ws.WebEndpoint;
9+
import jakarta.xml.ws.WebServiceClient;
10+
import jakarta.xml.ws.WebServiceException;
11+
import jakarta.xml.ws.WebServiceFeature;
1212

1313

1414
/**
1515
* This class was generated by the JAX-WS RI.
16-
* JAX-WS RI 2.3.2
17-
* Generated source version: 2.2
16+
* JAX-WS RI 3.0.2
17+
* Generated source version: 3.0
1818
*
1919
*/
2020
@WebServiceClient(name = "CountryServiceImplService", targetNamespace = "http://server.ws.soap.baeldung.com/", wsdlLocation = "http://localhost:8888/ws/country?wsdl")
@@ -75,7 +75,7 @@ public CountryService getCountryServiceImplPort() {
7575
/**
7676
*
7777
* @param features
78-
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
78+
* A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
7979
* @return
8080
* returns CountryService
8181
*/

core-java-modules/core-java-11-2/src/main/java/com/baeldung/soap/ws/client/generated/Currency.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11

22
package com.baeldung.soap.ws.client.generated;
33

4-
import javax.xml.bind.annotation.XmlEnum;
5-
import javax.xml.bind.annotation.XmlType;
4+
import jakarta.xml.bind.annotation.XmlEnum;
5+
import jakarta.xml.bind.annotation.XmlType;
66

77

88
/**
99
* <p>Java class for currency.
1010
*
1111
* <p>The following schema fragment specifies the expected content contained within this class.
12-
* <p>
1312
* <pre>
1413
* &lt;simpleType name="currency"&gt;
1514
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;

core-java-modules/core-java-11-2/src/main/java/com/baeldung/soap/ws/client/generated/ObjectFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
package com.baeldung.soap.ws.client.generated;
33

4-
import javax.xml.bind.annotation.XmlRegistry;
4+
import jakarta.xml.bind.annotation.XmlRegistry;
55

66

77
/**
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
@javax.xml.bind.annotation.XmlSchema(namespace = "http://server.ws.soap.baeldung.com/")
1+
@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://server.ws.soap.baeldung.com/")
22
package com.baeldung.soap.ws.client.generated;

0 commit comments

Comments
 (0)