108 lines
3.7 KiB
XML
108 lines
3.7 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>
|
|
|
|
<groupId>business.chaoran</groupId>
|
|
<artifactId>authentication-server</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<packaging>war</packaging>
|
|
<!-- <packaging>jar</packaging>-->
|
|
|
|
<name>authentication-server</name>
|
|
<description>Demo Oauth2 project for Spring Cloud Oauth2 Authentication Server</description>
|
|
|
|
<parent>
|
|
<groupId>business.chaoran</groupId>
|
|
<artifactId>auth</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>business.chaoran</groupId>
|
|
<artifactId>web</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</dependency>
|
|
<!--oauth2认证-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-security</artifactId>
|
|
</dependency>
|
|
<!--Swagger2 - RESTful API文档-->
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
</dependency>
|
|
<!--jetcache缓存 -->
|
|
<dependency>
|
|
<groupId>com.alicp.jetcache</groupId>
|
|
<artifactId>jetcache-starter-redis</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 独立运行依赖-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-starter-web</artifactId>-->
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<!-- tomcat部署运行依赖-->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
<!-- tomcat容器运行构建工具-->
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>2.1.4.RELEASE</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>build-info</goal>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
</plugins>
|
|
<finalName>authentication-server</finalName>
|
|
</build>
|
|
|
|
|
|
</project>
|