107 lines
3.8 KiB
XML
107 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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>
|
|
<artifactId>spring-soap</artifactId>
|
|
<version>1.0.0</version>
|
|
<name>spring-soap</name>
|
|
|
|
<parent>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>parent-boot-2</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<relativePath>../parent-boot-2</relativePath>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<!-- tag::springws[] -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web-services</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>wsdl4j</groupId>
|
|
<artifactId>wsdl4j</artifactId>
|
|
</dependency>
|
|
<!-- end::springws[] -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
<version>4.0.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
<!-- tag::xsd[] -->
|
|
<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>
|
|
<sources>
|
|
<source>src/main/resources/countries.xsd</source>
|
|
</sources>
|
|
<outputDirectory>src/main/java</outputDirectory>
|
|
<clearOutputDir>false</clearOutputDir>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- end::xsd[] -->
|
|
<plugin>
|
|
<groupId>org.jvnet.jaxb2.maven2</groupId>
|
|
<artifactId>maven-jaxb2-plugin</artifactId>
|
|
<version>0.15.3</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<schemaLanguage>WSDL</schemaLanguage>
|
|
<generateDirectory>${project.basedir}/src/main/java</generateDirectory>
|
|
<generatePackage>com.baeldung.springsoap.client.gen</generatePackage>
|
|
<schemaDirectory>${project.basedir}/src/main/resources</schemaDirectory>
|
|
<noFileHeader>true</noFileHeader>
|
|
<schemaIncludes>
|
|
<include>countries.wsdl</include>
|
|
</schemaIncludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<java.version>17</java.version>
|
|
</properties>
|
|
</project> |