|
|
<?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">
|
|
|
<parent>
|
|
|
<artifactId>luoo_parent</artifactId>
|
|
|
<groupId>com.luoo</groupId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
</parent>
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<artifactId>luoo_comment</artifactId>
|
|
|
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>com.luoo</groupId>
|
|
|
<artifactId>luoo_common</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.spring4all</groupId>
|
|
|
<artifactId>mongodb-plus-spring-boot-starter</artifactId>
|
|
|
<version>1.0.0.RELEASE</version>
|
|
|
</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.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-starter-openfeign</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-amqp</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.lionsoul</groupId>
|
|
|
<artifactId>ip2region</artifactId>
|
|
|
<version>2.7.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>net.oschina.j2cache</groupId>
|
|
|
<artifactId>j2cache-spring-boot2-starter</artifactId>
|
|
|
<version>2.8.0-release</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>net.oschina.j2cache</groupId>
|
|
|
<artifactId>j2cache-core</artifactId>
|
|
|
<version>2.8.5-release</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.github.houbb</groupId>
|
|
|
<artifactId>sensitive-word</artifactId>
|
|
|
<version>0.2.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> |