<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>
|
<artifactId>user-center</artifactId>
|
<packaging>jar</packaging>
|
|
<parent>
|
<groupId>com.cloud</groupId>
|
<artifactId>user-service</artifactId>
|
<version>3.0</version>
|
</parent>
|
|
<dependencies>
|
<!--<dependency>-->
|
<!--<groupId>org.springframework.cloud</groupId>-->
|
<!--<artifactId>spring-cloud-dependencies</artifactId>-->
|
<!--<version>${spring-cloud.version}</version>-->
|
<!--<type>pom</type>-->
|
<!--<scope>import</scope>-->
|
<!--</dependency>-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.zeroc</groupId>
|
<artifactId>ice</artifactId>
|
<version>3.7.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.openpnp</groupId>
|
<artifactId>opencv</artifactId>
|
<version>3.2.0-1</version>
|
</dependency>
|
|
<!-- wp add test-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.mybatis.spring.boot</groupId>
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
</dependency>
|
<!--<dependency>-->
|
<!--<groupId>org.springframework.cloud</groupId>-->
|
<!--<artifactId>spring-cloud-starter-openfeign</artifactId>-->
|
<!--</dependency>-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<scope>runtime</scope>
|
</dependency>
|
|
<!-- sqlite依赖 -->
|
<dependency>
|
<groupId>org.xerial</groupId>
|
<artifactId>sqlite-jdbc</artifactId>
|
<version>3.21.0.1</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-pool2</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.session</groupId>
|
<artifactId>spring-session-data-redis</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger2</artifactId>
|
<version>${swagger.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-bean-validators</artifactId>
|
<version>${swagger.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger-ui</artifactId>
|
<version>${swagger.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.cloud</groupId>
|
<artifactId>api-model</artifactId>
|
<version>${project.version}</version>
|
<scope>compile</scope>
|
</dependency>
|
<dependency>
|
<groupId>com.cloud</groupId>
|
<artifactId>commons</artifactId>
|
<version>${project.version}</version>
|
<scope>compile</scope>
|
</dependency>
|
<dependency>
|
<groupId>net.coobird</groupId>
|
<artifactId>thumbnailator</artifactId>
|
<version>0.4.8</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-test</artifactId>
|
<version>5.0.8.RELEASE</version>
|
</dependency>
|
<!--<dependency>-->
|
<!--<groupId>net.oschina.zcx7878</groupId>-->
|
<!--<artifactId>fastdfs-client-java</artifactId>-->
|
<!--<version>1.27.0.0</version>-->
|
<!--</dependency>-->
|
|
</dependencies>
|
|
<build>
|
<finalName>${project.artifactId}</finalName>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
</plugin>
|
<!-- tag::plugin[] -->
|
<plugin>
|
<groupId>com.spotify</groupId>
|
<artifactId>docker-maven-plugin</artifactId>
|
<version>0.4.3</version>
|
<configuration>
|
<imageName>${docker.image.prefix}/${project.artifactId}</imageName> <!--${docker.image.prefix}/${project.artifactId}-->
|
<dockerDirectory>src/main/docker</dockerDirectory>
|
<resources>
|
<resource>
|
<targetPath>/</targetPath>
|
<directory>${project.build.directory}</directory>
|
<include>${project.build.finalName}.jar</include>
|
</resource>
|
</resources>
|
</configuration>
|
</plugin>
|
<!-- end::plugin[] -->
|
</plugins>
|
</build>
|
|
<properties>
|
<docker.image.prefix>bjbsk</docker.image.prefix>
|
</properties>
|
</project>
|