| <?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> |
| <parent> |
| <groupId>org.apache.cxf.samples</groupId> |
| <artifactId>cxf-samples</artifactId> |
| <version>3.3.5-SNAPSHOT</version> |
| <relativePath>..</relativePath> |
| </parent> |
| <artifactId>spring-boot-sample-ws-cxf</artifactId> |
| <name>Spring Boot CXF Web Services Sample</name> |
| <description>Spring Boot CXF Web Services Sample</description> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <!-- Import dependency management from Spring Boot --> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-dependencies</artifactId> |
| <version>${spring.boot.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-spring-boot-starter-jaxws</artifactId> |
| <version>${project.version}</version> |
| <exclusions><!-- CXF uses java.util.logging by default --> |
| <exclusion> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web-services</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| <version>${spring.boot.version}</version> |
| <configuration> |
| <mainClass>sample.ws.SampleWsApplication</mainClass> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <configuration> |
| <mainClass>sample.ws.SampleWsApplicationClient</mainClass> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.spotify</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <version>0.4.9</version> |
| <configuration> |
| <imageName>${project.groupId}/${project.artifactId}</imageName> |
| <baseImage>frolvlad/alpine-oraclejdk8:slim</baseImage> |
| <entryPoint>java -Djava.security.egd=file:/dev/./urandom -jar |
| ${project.build.finalName}.jar |
| </entryPoint> |
| <resources> |
| <resource> |
| <targetPath>/</targetPath> |
| <directory>${project.build.directory}</directory> |
| <include>${project.build.finalName}.jar</include> |
| </resource> |
| </resources> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |