Advertisement
Guest User

Untitled

a guest
May 20th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.95 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.     <parent>
  6.         <groupId>org.springframework.boot</groupId>
  7.         <artifactId>spring-boot-starter-parent</artifactId>
  8.         <version>2.1.5.RELEASE</version>
  9.         <relativePath/> <!-- lookup parent from repository -->
  10.     </parent>
  11.     <groupId>fr.iutnantes.fr</groupId>
  12.     <artifactId>demosoap</artifactId>
  13.     <version>0.0.1-SNAPSHOT</version>
  14.     <name>demosoap</name>
  15.     <description>Demo project for Spring Boot</description>
  16.  
  17.     <properties>
  18.         <java.version>11</java.version>
  19.         <cxf.version>3.3.1</cxf.version>
  20.     </properties>
  21.  
  22.     <dependencies>
  23.         <!-- https://mvnrepository.com/artifact/javax.xml.ws/jaxws-api -->
  24.         <dependency>
  25.             <groupId>javax.xml.ws</groupId>
  26.             <artifactId>jaxws-api</artifactId>
  27.             <version>2.3.1</version>
  28.         </dependency>
  29.         <dependency>
  30.             <groupId>com.sun.xml.bind</groupId>
  31.             <artifactId>jaxb-impl</artifactId>
  32.             <version>2.3.2</version>
  33.         </dependency>
  34.         <dependency>
  35.             <groupId>javax.xml.bind</groupId>
  36.             <artifactId>jaxb-api</artifactId>
  37.             <version>2.3.0</version>
  38.         </dependency>
  39.         <dependency>
  40.             <groupId>com.sun.xml.bind</groupId>
  41.             <artifactId>jaxb-core</artifactId>
  42.             <version>2.3.0.1</version>
  43.         </dependency>
  44.         <dependency>
  45.             <groupId>javax.activation</groupId>
  46.             <artifactId>activation</artifactId>
  47.             <version>1.1.1</version>
  48.         </dependency>
  49.  
  50.         <dependency>
  51.             <groupId>org.springframework.boot</groupId>
  52.             <artifactId>spring-boot-starter</artifactId>
  53.         </dependency>
  54.         <dependency>
  55.             <groupId>org.apache.cxf</groupId>
  56.             <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  57.             <version>${cxf.version}</version>
  58.         </dependency>
  59.         <dependency>
  60.             <groupId>org.springframework.boot</groupId>
  61.             <artifactId>spring-boot-starter-test</artifactId>
  62.             <scope>test</scope>
  63.         </dependency>
  64.         <dependency>
  65.             <groupId>javax.jws</groupId>
  66.             <artifactId>jsr181-api</artifactId>
  67.             <version>1.0-MR1</version>
  68.         </dependency>
  69.     </dependencies>
  70.  
  71.     <build>
  72.         <plugins>
  73.             <plugin>
  74.                 <groupId>org.springframework.boot</groupId>
  75.                 <artifactId>spring-boot-maven-plugin</artifactId>
  76.             </plugin>
  77.             <!-- cxf-codegen-plugin -->
  78.             <plugin>
  79.                 <groupId>org.apache.cxf</groupId>
  80.                 <artifactId>cxf-codegen-plugin</artifactId>
  81.                 <version>${cxf.version}</version>
  82.                 <executions>
  83.                     <execution>
  84.                         <id>generate-sources</id>
  85.                         <phase>generate-sources</phase>
  86.                         <configuration>
  87.                             <sourceRoot>${project.build.directory}/generated/cxf</sourceRoot>
  88.                             <wsdlOptions>
  89.                                 <wsdlOption>
  90.                                     <wsdl>${project.basedir}/src/main/resources/wsdl/aglae.wsdl</wsdl>
  91.                                     <wsdlLocation>classpath:wsdl/aglae.wsdl</wsdlLocation>
  92.                                 </wsdlOption>
  93.                             </wsdlOptions>
  94.                         </configuration>
  95.                         <goals>
  96.                             <goal>wsdl2java</goal>
  97.                         </goals>
  98.                     </execution>
  99.                 </executions>
  100.             </plugin>
  101.         </plugins>
  102.     </build>
  103.  
  104. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement