From 8462c9b638424303d4c992164b059f0b6a264ce2 Mon Sep 17 00:00:00 2001 From: "Greg L. Turnquist" Date: Wed, 2 Mar 2022 13:16:01 -0600 Subject: [PATCH] Upgrade samples to better support current Spring Boot + Spring WS. * Ensure each module is pointed back at the parent. * Parent now carries the version of Spring Boot. * Migrate one Axis JAR file. * Override Spring Boot's version of Spring WS, ensuring we are buliding against latest snapshot. * Point Jenkinsfile at Spring WS's main job. --- airline/client/axis1/pom.xml | 3 +- airline/client/jax-ws/pom.xml | 5 +-- airline/server/pom.xml | 8 ++--- echo/server/pom.xml | 8 ++--- mtom/server/pom.xml | 8 ++--- pom.xml | 64 ++++++++++++++++++++++++++++------- tutorial/pom.xml | 8 ++--- 7 files changed, 73 insertions(+), 31 deletions(-) diff --git a/airline/client/axis1/pom.xml b/airline/client/axis1/pom.xml index 39a322b..01e36c7 100644 --- a/airline/client/axis1/pom.xml +++ b/airline/client/axis1/pom.xml @@ -35,7 +35,7 @@ - axis + org.apache.axis axis-jaxrpc ${axis.version} @@ -48,6 +48,7 @@ org.apache.maven.plugins maven-antrun-plugin + 1.8 axis diff --git a/airline/client/jax-ws/pom.xml b/airline/client/jax-ws/pom.xml index d7f8e31..e2c968c 100644 --- a/airline/client/jax-ws/pom.xml +++ b/airline/client/jax-ws/pom.xml @@ -20,7 +20,7 @@ 1.8 2.1.7 2.15.0 - 2.1.4.RELEASE + ${project.basedir}/target/generated-sources/jaxws ${project.basedir}/target/classes ${project.basedir}/../airline.wsdl @@ -31,7 +31,7 @@ org.springframework.ws spring-ws-core - ${spring-ws.version} + @@ -42,6 +42,7 @@ org.apache.maven.plugins maven-antrun-plugin + 1.8 com.sun.xml.ws diff --git a/airline/server/pom.xml b/airline/server/pom.xml index d73bfa3..625f544 100644 --- a/airline/server/pom.xml +++ b/airline/server/pom.xml @@ -4,10 +4,10 @@ 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 2.5.7 - + org.springframework.ws + spring-ws-samples + 1.0.0.BUILD-SNAPSHOT + ../../ org.springframework.ws diff --git a/echo/server/pom.xml b/echo/server/pom.xml index 26d5b16..9d405f1 100644 --- a/echo/server/pom.xml +++ b/echo/server/pom.xml @@ -4,10 +4,10 @@ 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 2.5.7 - + org.springframework.ws + spring-ws-samples + 1.0.0.BUILD-SNAPSHOT + ../../ org.springframework.ws diff --git a/mtom/server/pom.xml b/mtom/server/pom.xml index 6dac636..3513eaf 100644 --- a/mtom/server/pom.xml +++ b/mtom/server/pom.xml @@ -4,10 +4,10 @@ 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 2.5.7 - + org.springframework.ws + spring-ws-samples + 1.0.0.BUILD-SNAPSHOT + ../../ org.springframework.ws diff --git a/pom.xml b/pom.xml index 286bc8c..0e57c9a 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,12 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.springframework.boot spring-boot-starter-parent - 2.5.7 + 2.6.4 @@ -57,24 +57,64 @@ tutorial + + 3.1.3-SNAPSHOT + + org.springframework.boot spring-boot-starter-test test - - - org.junit.vintage - junit-vintage-engine - - - org.springframework.boot - spring-boot-starter-logging - - + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/snapshot + + false + + + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/snapshot + + false + + + + diff --git a/tutorial/pom.xml b/tutorial/pom.xml index 713792f..a003379 100644 --- a/tutorial/pom.xml +++ b/tutorial/pom.xml @@ -4,10 +4,10 @@ 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 2.5.7 - + org.springframework.ws + spring-ws-samples + 1.0.0.BUILD-SNAPSHOT + ../ org.springframework.ws