Polish build

This mostly polish the structure of the POM files and harmonize the
dependency management.
This commit is contained in:
Stéphane Nicoll
2025-03-14 11:39:09 +01:00
parent 6f991ba0f9
commit 9a6748159c
13 changed files with 159 additions and 430 deletions

View File

@@ -3,26 +3,24 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-samples</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../../../</relativePath> <!-- lookup parent from repository -->
<relativePath>../../../pom.xml</relativePath>
</parent>
<groupId>org.springframework.ws</groupId>
<artifactId>mtom-client-spring-ws</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Spring Web Services Samples - MTOM - Client - Spring WS</name>
<description>Demo project for Spring Web Services</description>
<properties>
<wsdl>${project.basedir}/../../server/src/main/resources/contentStore.wsdl</wsdl>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web-services</artifactId>
@@ -33,26 +31,17 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.evolvedbinary.maven.jvnet</groupId>
<artifactId>jaxb30-maven-plugin</artifactId>
<version>0.15.0</version>
<executions>
<execution>
<goals>
@@ -71,54 +60,9 @@
<addCompileSourceRoot>true</addCompileSourceRoot>
</configuration>
</plugin>
<!-- <plugin>-->
<!-- <groupId>org.codehaus.mojo</groupId>-->
<!-- <artifactId>jaxb2-maven-plugin</artifactId>-->
<!-- <version>3.1.0</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>xjc</id>-->
<!-- <goals>-->
<!-- <goal>xjc</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- <configuration>-->
<!-- <sourceType>WSDL</sourceType>-->
<!-- <sources>${project.basedir}/../../server/src/main/resources/contentStore.wsdl</sources>-->
<!-- <packageName>org.springframework.ws.samples.mtom.client.sws</packageName>-->
<!-- <target>3.0</target>-->
<!-- </configuration>-->
<!-- </plugin>-->
<!-- <plugin>-->
<!-- <groupId>org.jvnet.jaxb2.maven2</groupId>-->
<!-- <artifactId>maven-jaxb2-plugin</artifactId>-->
<!-- <version>0.14.0</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <goals>-->
<!-- <goal>generate</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- <configuration>-->
<!-- <generatePackage>org.springframework.ws.samples.mtom.client.sws</generatePackage>-->
<!-- <schemas>-->
<!-- <schema>-->
<!-- <url>${wsdl}</url>-->
<!-- </schema>-->
<!-- </schemas>-->
<!-- <addCompileSourceRoot>true</addCompileSourceRoot>-->
<!-- </configuration>-->
<!-- </plugin>-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>add-source</id>
@@ -134,7 +78,6 @@
</execution>
</executions>
</plugin>
</plugins>
</build>