<?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>com.cloud</groupId>
|
<artifactId>add-person</artifactId>
|
<version>0.0.1-SNAPSHOT</version>
|
<packaging>jar</packaging>
|
|
<name>add-person</name>
|
<description>Demo project for Spring Boot</description>
|
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<version>2.0.6.RELEASE</version>
|
<relativePath/> <!-- lookup parent from repository -->
|
</parent>
|
|
<properties>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<java.version>1.8</java.version>
|
<docker.image.prefix>bjbsk</docker.image.prefix>
|
</properties>
|
|
<dependencies>
|
<!--<dependency>-->
|
<!--<groupId>org.springframework.boot</groupId>-->
|
<!--<artifactId>spring-boot-starter-data-redis</artifactId>-->
|
<!--</dependency>-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
|
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
</dependency>
|
|
|
<!--<dependency>-->
|
<!--<groupId>net.oschina.zcx7878</groupId>-->
|
<!--<artifactId>fastdfs-client-java</artifactId>-->
|
<!--<version>1.27.0.0</version>-->
|
<!--</dependency>-->
|
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<version>1.16.20</version>
|
<scope>provided</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis.spring.boot</groupId>
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
<version>1.3.2</version>
|
</dependency>
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<version>5.1.30</version>
|
</dependency>
|
<dependency>
|
<groupId>junit</groupId>
|
<artifactId>junit</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger2</artifactId>
|
<version>2.8.0</version>
|
</dependency>
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-bean-validators</artifactId>
|
<version>2.8.0</version>
|
</dependency>
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger-ui</artifactId>
|
<version>2.8.0</version>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId>
|
<version>1.2.47</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-lang3</artifactId>
|
<version>3.7</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
<version>2.0.6.RELEASE</version>
|
</dependency>
|
<dependency>
|
<groupId>log4j</groupId>
|
<artifactId>log4j</artifactId>
|
<version>1.2.17</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.httpcomponents</groupId>
|
<artifactId>httpclient</artifactId>
|
<version>4.5.2</version>
|
</dependency>
|
<dependency>
|
<groupId>redis.clients</groupId>
|
<artifactId>jedis</artifactId>
|
<version>2.9.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.data</groupId>
|
<artifactId>spring-data-redis</artifactId>
|
<version>2.0.11.RELEASE</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.session</groupId>
|
<artifactId>spring-session-data-redis</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.cloud</groupId>
|
<artifactId>commons</artifactId>
|
<version>5.0</version>
|
</dependency>
|
</dependencies>
|
|
<build>
|
<finalName>${project.artifactId}</finalName>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
</plugin>
|
<plugin>
|
<groupId>com.spotify</groupId>
|
<artifactId>docker-maven-plugin</artifactId>
|
<version>0.4.3</version>
|
<configuration>
|
<imageName>${docker.image.prefix}/${project.artifactId}</imageName>
|
<dockerDirectory>src/main/docker</dockerDirectory>
|
<resources>
|
<resource>
|
<targetPath>/</targetPath>
|
<directory>${project.build.directory}</directory>
|
<include>${project.build.finalName}.jar</include>
|
</resource>
|
</resources>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
|
|
</project>
|