|
|
<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>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.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.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>
|
|
|
<dependency>
|
|
|
<groupId>com.github.houbb</groupId>
|
|
|
<artifactId>sensitive-word</artifactId>
|
|
|
<version>0.2.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.auth0</groupId>
|
|
|
<artifactId>jwks-rsa</artifactId>
|
|
|
<version>0.12.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>1.2.80</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- tool -->
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
<version>5.8.20</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- zxing -->
|
|
|
<dependency>
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
<artifactId>core</artifactId>
|
|
|
<version>3.5.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- mybatis-plus -->
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-extension</artifactId>
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- QueryDSL框架依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
<artifactId>querydsl-apt</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.querydsl</groupId>
|
|
|
<artifactId>querydsl-jpa</artifactId>
|
|
|
</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>
|
|
|
<plugin>
|
|
|
<!--因为QueryDsl是类型安全的,所以还需要加上Maven APT plugin,使用 APT 自动生成Q类:-->
|
|
|
<groupId>com.mysema.maven</groupId>
|
|
|
<artifactId>apt-maven-plugin</artifactId>
|
|
|
<version>1.1.3</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<phase>generate-sources</phase>
|
|
|
<goals>
|
|
|
<goal>process</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
<outputDirectory>target/generated-sources/java</outputDirectory>
|
|
|
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>3.8.1</version> <!-- 替换为最新版本 -->
|
|
|
<configuration>
|
|
|
<source>1.8</source> <!-- 替换为你的Java版本 -->
|
|
|
<target>1.8</target> <!-- 替换为你的Java版本 -->
|
|
|
<annotationProcessorPaths>
|
|
|
<path>
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
|
<version>1.4.2.Final</version> <!-- 替换为最新版本 -->
|
|
|
</path>
|
|
|
</annotationProcessorPaths>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</project>
|