|
|
<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.luoo</groupId>
|
|
|
<artifactId>luoo_parent</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
</parent>
|
|
|
<artifactId>luoo_user</artifactId>
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-amqp</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.luoo</groupId>
|
|
|
<artifactId>luoo_common</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-security</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-config</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-bus</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-stream-binder-rabbit</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.apifan.common</groupId>
|
|
|
<artifactId>common-random</artifactId>
|
|
|
<version>1.0.21</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.h2database</groupId>
|
|
|
<artifactId>h2</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>software.amazon.awssdk</groupId>-->
|
|
|
<!-- <artifactId>s3</artifactId>-->
|
|
|
<!-- <version>2.20.29</version>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<!-- amazon s3 -->
|
|
|
<dependency>
|
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
|
<artifactId>s3</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
<artifactId>aliyun-java-sdk-dysmsapi</artifactId>
|
|
|
<version>1.0.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
<version>3.2.5</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.lionsoul</groupId>
|
|
|
<artifactId>ip2region</artifactId>
|
|
|
<version>2.7.0</version>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
<build>
|
|
|
<finalName>app</finalName>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
</plugin>
|
|
|
<!-- docker的maven插件,官网
|
|
|
https://github.com/spotify/docker-maven-plugin -->
|
|
|
<plugin>
|
|
|
<groupId>com.spotify</groupId>
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
<version>0.4.13</version>
|
|
|
<configuration>
|
|
|
<imageName>
|
|
|
116.62.145.60:5000/${project.artifactId}:${project.version}</imageName>
|
|
|
<baseImage>jdk1.8</baseImage>
|
|
|
<entryPoint>["java",
|
|
|
"-jar","/${project.build.finalName}.jar"]</entryPoint>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<targetPath>/</targetPath>
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
<include>${project.build.finalName}.jar</include>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
<dockerHost>http://116.62.145.60:2375</dockerHost>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</project>
|