|
@@ -0,0 +1,317 @@
|
|
|
+<?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>
|
|
|
+ <parent>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
+ <version>2.3.4.RELEASE</version>
|
|
|
+ <relativePath/> <!-- lookup parent from repository -->
|
|
|
+ </parent>
|
|
|
+ <groupId>com.caimei365</groupId>
|
|
|
+ <artifactId>caimei-zplm-admin-api</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <!--maven.build.timestamp保存了maven编译时间戳-->
|
|
|
+ <timestamp>${maven.build.timestamp}</timestamp>
|
|
|
+ <!--指定时间格式-->
|
|
|
+ <maven.build.timestamp.format>yyyyMMdd-HHmmss</maven.build.timestamp.format>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>org.junit.vintage</groupId>
|
|
|
+ <artifactId>junit-vintage-engine</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
+ <optional>true</optional>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-devtools</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ <optional>true</optional>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <scope>runtime</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <optional>true</optional>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis.spring.boot</groupId>
|
|
|
+ <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
+ <version>2.1.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.pagehelper</groupId>
|
|
|
+ <artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
+ <version>1.2.5</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
+ <groupId>org.mybatis.spring.boot</groupId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-aop</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.auth0</groupId>
|
|
|
+ <artifactId>java-jwt</artifactId>
|
|
|
+ <version>3.8.3</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <!--邮箱发送-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-mail</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- redis依赖包 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>io.lettuce</groupId>
|
|
|
+ <artifactId>lettuce-core</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>redis.clients</groupId>
|
|
|
+ <artifactId>jedis</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!--手机短信-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>caimei</groupId>
|
|
|
+ <artifactId>smsClient</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
+ <version>1.2.6</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-codec</groupId>
|
|
|
+ <artifactId>commons-codec</artifactId>
|
|
|
+ <version>${commons-codec.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-lang</groupId>
|
|
|
+ <artifactId>commons-lang</artifactId>
|
|
|
+ <version>2.6</version>
|
|
|
+ </dependency>
|
|
|
+ <!--dfs-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.tobato</groupId>
|
|
|
+ <artifactId>fastdfs-client</artifactId>
|
|
|
+ <version>1.26.1-RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <!--引入商品模块-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.caimei.module</groupId>
|
|
|
+ <artifactId>product</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.bouncycastle</groupId>
|
|
|
+ <artifactId>bcprov-jdk16</artifactId>
|
|
|
+ <version>1.46</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.caimei.module</groupId>
|
|
|
+ <artifactId>pay</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 对 HTML 富文本文档进行解析和操作 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.jsoup</groupId>
|
|
|
+ <artifactId>jsoup</artifactId>
|
|
|
+ <version>1.9.2</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!--阿里云开放搜索(OpenSearch)sdk -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun.opensearch</groupId>
|
|
|
+ <artifactId>aliyun-sdk-opensearch</artifactId>
|
|
|
+ <version>3.5.1</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>guava</artifactId>
|
|
|
+ <groupId>com.google.guava</groupId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>commons-lang</artifactId>
|
|
|
+ <groupId>commons-lang</groupId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>httpclient</artifactId>
|
|
|
+ <groupId>org.apache.httpcomponents</groupId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-cache</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.github.openfeign</groupId>
|
|
|
+ <artifactId>feign-httpclient</artifactId>
|
|
|
+ <version>10.2.0</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>httpclient</artifactId>
|
|
|
+ <groupId>org.apache.httpcomponents</groupId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun</groupId>
|
|
|
+ <artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
+ <version>4.0.6</version> <!-- 注:如提示报错,先升级基础包版,无法解决可联系技术支持 -->
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun</groupId>
|
|
|
+ <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
|
|
|
+ <version>1.1.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <!--对象存储oss-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun.oss</groupId>
|
|
|
+ <artifactId>aliyun-sdk-oss</artifactId>
|
|
|
+ <version>3.10.2</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!--knife4j接口文档-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.xiaoymin</groupId>
|
|
|
+ <artifactId>knife4j-spring-boot-starter</artifactId>
|
|
|
+ <version>3.0.2</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.projectreactor</groupId>
|
|
|
+ <artifactId>reactor-test</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.httpcomponents</groupId>
|
|
|
+ <artifactId>httpclient</artifactId>
|
|
|
+ <version>4.4.1</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <!--消息推送-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.amqp</groupId>
|
|
|
+ <artifactId>spring-amqp</artifactId>
|
|
|
+ <version>1.7.5.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.rabbitmq</groupId>
|
|
|
+ <artifactId>amqp-client</artifactId>
|
|
|
+ <version>5.12.0</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>dev</id>
|
|
|
+ <properties>
|
|
|
+ <!-- 环境标识,需要与配置文件的名称相对应 -->
|
|
|
+ <activatedProperties>dev</activatedProperties>
|
|
|
+ </properties>
|
|
|
+ <activation>
|
|
|
+ <!-- 默认环境 -->
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>beta</id>
|
|
|
+ <properties>
|
|
|
+ <activatedProperties>beta</activatedProperties>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>prod</id>
|
|
|
+ <properties>
|
|
|
+ <activatedProperties>prod</activatedProperties>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+ <build>
|
|
|
+ <finalName>${project.artifactId}</finalName>
|
|
|
+ <resources>
|
|
|
+ <!-- 配置文件路径 -->
|
|
|
+ <resource>
|
|
|
+ <!-- 这里对应项目存放配置文件的目录-->
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <!-- 开启filtering功能 -->
|
|
|
+ <filtering>true</filtering>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources/config/${activatedProperties}</directory>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <!-- springboot启动类目录 -->
|
|
|
+ <mainClass>com.caimei.PurchaseApplication</mainClass>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <!-- 创建一个自动可执行的jar或war文件 -->
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+</project>
|