You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#27 Move from deprecated and org.codehaus.mojo.jaxws-maven-plugin (patched: com.helger.maven) to silently moved, but maintained com.sun.xml.ws.jaxws-maven-plugin - which also runs on all major JDKs. This also resolvesmojohaus/jaxws-maven-plugin#54 completely
Copy file name to clipboardexpand all lines: README.md
+26-10
Original file line number
Diff line number
Diff line change
@@ -104,27 +104,43 @@ Therefore we add the JAX-WS runtime to our pom.xml:
104
104
</dependency>
105
105
```
106
106
107
-
Sadly the jaxws-maven-plugin [isn't JDK11 (nor JDK9) compatible](https://github.com/mojohaus/jaxws-maven-plugin/issues/54) atm! Therefore we use the a drop-in replacement inside our [BootCxfMojo](cxf-spring-boot-starter-maven-plugin/src/main/java/de/codecentric/cxf/BootCxfMojo.java), where this is fixed until the plugin gets released:
107
+
Sadly the jaxws-maven-plugin [isn't JDK11 (nor JDK9) compatible](https://github.com/mojohaus/jaxws-maven-plugin/issues/54) atm!
108
+
109
+
__BUT__: Thanks so much to [mickaelbaron](https://github.com/mojohaus/jaxws-maven-plugin/issues/54#issuecomment-434323813) for stating, that the [mojohaus/jaxws-maven-plugin](https://github.com/mojohaus/jaxws-maven-plugin) is just deprecated and moved silently to [eclipse-ee4j/metro-jax-ws/jaxws-ri/jaxws-maven-plugin/](https://github.com/eclipse-ee4j/metro-jax-ws/tree/master/jaxws-ri/jaxws-maven-plugin)!!!
108
110
109
111
```
110
112
plugin(
111
-
groupId("com.helger.maven"),
113
+
groupId("com.sun.xml.ws"),
112
114
artifactId("jaxws-maven-plugin"),
113
-
version("2.6"),
115
+
version("2.3.2"),
114
116
dependencies(
115
117
dependency(
116
118
"org.jvnet.jaxb2_commons",
117
119
"jaxb2-namespace-prefix",
118
-
"1.3"),
119
-
dependency(
120
-
"com.sun.xml.ws",
121
-
"jaxws-tools",
122
-
"2.3.2"))
120
+
"1.3"))
123
121
),
124
122
```
125
123
126
-
This also needs the `com.sun.xml.ws.jaxws-tools` to be on the classpath, so we add this as a dependency too.
124
+
With this maintained version of [com.sun.xml.ws.jaxws-maven-plugin](https://mvnrepository.com/artifact/com.sun.xml.ws/jaxws-maven-plugin) we are also able to run on all major JDK versions like a charm!
125
+
126
+
127
+
##### Build on multiple JDKs locally
128
+
129
+
On our local machine in most situations we only have one JDK installation. There are solutions like [jenv](https://www.jenv.be/), but as I really like Docker, we can also run our builds with it:
0 commit comments