| <?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.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-parent</artifactId> |
| <version>1.3.6.RELEASE</version> |
| </parent> |
| <artifactId>spring-boot-sample-rs-cxf-scan-app</artifactId> |
| <groupId>org.apache.cxf.samples</groupId> |
| <version>3.2.0-SNAPSHOT</version> |
| <name>Spring Boot CXF REST Scan Application</name> |
| <description>Spring Boot CXF REST Scan Application</description> |
| |
| <properties> |
| <cxf.version>3.2.0-SNAPSHOT</cxf.version> |
| <cxf.zest.version>2.1</cxf.zest.version> |
| <spring.boot.version>1.3.6.RELEASE</spring.boot.version> |
| <spring.cloud.eureka.version>1.1.3.RELEASE</spring.cloud.eureka.version> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-spring-boot-starter-jaxrs</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>swagger-ui</artifactId> |
| <version>2.1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-service-description-swagger</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| <!-- Eureka Service Discovery Client --> |
| <dependency> |
| <groupId>org.springframework.cloud</groupId> |
| <artifactId>spring-cloud-starter-eureka</artifactId> |
| <version>${spring.cloud.eureka.version}</version> |
| </dependency> |
| <!-- Actuator Endpoints --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-actuator</artifactId> |
| <version>${spring.boot.version}</version> |
| </dependency> |
| </dependencies> |
| <profiles> |
| <profile> |
| <id>server</id> |
| <build> |
| <defaultGoal>spring-boot:run</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |