| <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>com.supwisdom.leaveschool</groupId> |
| <artifactId>samples-parent</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| </parent> |
| |
| <groupId>com.supwisdom.leaveschool</groupId> |
| <artifactId>sample-client</artifactId> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <start-class>com.supwisdom.leaveschool.client.ClientApplication</start-class> |
| </properties> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter</artifactId> |
| </dependency> |
| |
| <!-- 微服务 健康监控 --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-actuator</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web</artifactId> |
| </dependency> |
| |
| |
| <!-- <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-mvc</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-object-mapper</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-i18n</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-lang</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-pinyin</artifactId> |
| </dependency> |
| --> |
| |
| |
| <dependency> |
| <groupId>com.supwisdom.infras</groupId> |
| <artifactId>infras-security</artifactId> |
| </dependency> |
| |
| <!-- |
| <dependency> |
| <groupId>org.springframework.security</groupId> |
| <artifactId>spring-security-cas</artifactId> |
| </dependency> |
| --> |
| |
| <dependency> |
| <groupId>org.springframework.security.oauth.boot</groupId> |
| <artifactId>spring-security-oauth2-autoconfigure</artifactId> |
| </dependency> |
| |
| <!-- <dependency> |
| <groupId>org.springframework.security.oauth</groupId> |
| <artifactId>spring-security-oauth2</artifactId> |
| </dependency> --> |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.thymeleaf.extras</groupId> |
| <artifactId>thymeleaf-extras-springsecurity4</artifactId> |
| </dependency> |
| |
| |
| |
| <!-- <dependency> |
| <groupId>org.springframework.cloud</groupId> |
| <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> |
| </dependency> --> |
| |
| <dependency> |
| <groupId>org.springframework.cloud</groupId> |
| <artifactId>spring-cloud-starter-openfeign</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.cloud</groupId> |
| <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.cloud</groupId> |
| <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>org.json</groupId> |
| <artifactId>json</artifactId> |
| </dependency> |
| |
| |
| <!-- Test things --> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <finalName>${project.artifactId}</finalName> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>boot</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |