2019-01-19 15:31:26 +08:00
|
|
|
<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.zlt</groupId>
|
|
|
|
|
<artifactId>central-platform</artifactId>
|
2021-11-28 16:40:27 +08:00
|
|
|
<version>5.1.0</version>
|
2019-01-19 15:31:26 +08:00
|
|
|
</parent>
|
|
|
|
|
<artifactId>zlt-uaa</artifactId>
|
|
|
|
|
<description>认证中心</description>
|
|
|
|
|
<dependencies>
|
2019-01-22 14:12:30 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-config</artifactId>
|
|
|
|
|
</dependency>
|
2019-10-16 18:00:56 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
2019-01-19 15:31:26 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-auth-client-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-db-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
2021-08-08 22:13:11 +08:00
|
|
|
<artifactId>zlt-loadbalancer-spring-boot-starter</artifactId>
|
2019-01-19 15:31:26 +08:00
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-swagger2-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
2019-01-22 14:12:30 +08:00
|
|
|
<artifactId>zlt-sentinel-spring-boot-starter</artifactId>
|
2019-01-19 15:31:26 +08:00
|
|
|
</dependency>
|
2019-10-16 18:00:56 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-redis-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
2019-01-22 14:12:30 +08:00
|
|
|
|
2019-01-19 15:31:26 +08:00
|
|
|
<dependency>
|
2019-08-02 17:24:46 +08:00
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
2019-01-19 15:31:26 +08:00
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.social</groupId>
|
|
|
|
|
<artifactId>spring-social-security</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
</dependency>
|
2019-08-09 16:01:27 +08:00
|
|
|
<!-- 验证码生成工具 -->
|
2019-01-19 15:31:26 +08:00
|
|
|
<dependency>
|
2019-08-09 16:01:27 +08:00
|
|
|
<groupId>com.github.whvcse</groupId>
|
2019-09-02 11:32:43 +08:00
|
|
|
<artifactId>easy-captcha</artifactId>
|
2019-01-19 15:31:26 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.session</groupId>
|
|
|
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- hutool java工具类库 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
</dependency>
|
2019-03-04 09:08:02 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
|
|
|
</dependency>
|
2021-01-28 21:03:37 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
|
</dependency>
|
2021-08-08 22:13:11 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
2019-01-19 15:31:26 +08:00
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2019-02-27 14:35:28 +08:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<imageName>${docker.image.prefix}/${project.artifactId}</imageName>
|
|
|
|
|
<imageTags>
|
|
|
|
|
<imageTag>${project.version}</imageTag>
|
|
|
|
|
<imageTag>latest</imageTag>
|
|
|
|
|
</imageTags>
|
|
|
|
|
<forceTags>true</forceTags>
|
|
|
|
|
<baseImage>${docker.baseImage}</baseImage>
|
|
|
|
|
<volumes>${docker.volumes}</volumes>
|
|
|
|
|
<env>
|
|
|
|
|
<JAVA_OPTS>${docker.java.opts}</JAVA_OPTS>
|
|
|
|
|
</env>
|
2019-03-23 11:23:06 +08:00
|
|
|
<entryPoint>["sh","-c","java $JAVA_OPTS ${docker.java.security.egd} -jar /${project.build.finalName}.jar"]</entryPoint>
|
2019-02-27 14:35:28 +08:00
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<targetPath>/</targetPath>
|
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
|
<include>${project.build.finalName}.jar</include>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2019-01-19 15:31:26 +08:00
|
|
|
</plugins>
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|