|
@@ -0,0 +1,427 @@
|
|
|
+<?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 https://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.3.RELEASE</version>
|
|
|
+ <relativePath/> <!-- lookup parent from repository -->
|
|
|
+ </parent>
|
|
|
+ <groupId>com.gree.miniapp</groupId>
|
|
|
+ <artifactId>zfire_mall_miniapp</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ <name>zfire_mall_miniapp</name>
|
|
|
+ <description>Demo project for Spring Boot</description>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <mybatis.version>2.1.0</mybatis.version>
|
|
|
+ <mybatis-plus.version>3.4.2</mybatis-plus.version>
|
|
|
+ <velocity.version>2.1</velocity.version>
|
|
|
+ <projectlombok.version>1.18.8</projectlombok.version>
|
|
|
+ <mybatis-spring.version>2.1.0</mybatis-spring.version>
|
|
|
+ <google.zxing.version>3.3.2</google.zxing.version>
|
|
|
+ <mysql.version>8.0.17</mysql.version>
|
|
|
+ <druid.version>1.1.21</druid.version>
|
|
|
+ <commons-pool2.version>2.8.0</commons-pool2.version>
|
|
|
+ <fastjson.version>1.2.59</fastjson.version>
|
|
|
+ <okhttp3.version>4.0.1</okhttp3.version>
|
|
|
+ <swagger.version>2.9.2</swagger.version>
|
|
|
+ <swagger-bootstrap.version>1.9.4</swagger-bootstrap.version>
|
|
|
+ <io-swagger.version>1.5.22</io-swagger.version>
|
|
|
+ <bcprov-jdk15on.version>1.60</bcprov-jdk15on.version>
|
|
|
+ <thumbnailator.version>0.4.8</thumbnailator.version>
|
|
|
+ <io.jsonwebtoken.version>0.6.0</io.jsonwebtoken.version>
|
|
|
+ <aliyun-sdk-oss.version>3.8.1</aliyun-sdk-oss.version>
|
|
|
+ <httpclient.version>4.5</httpclient.version>
|
|
|
+ <weixin-java.version>4.5.0</weixin-java.version>
|
|
|
+ <hutool-all.version>5.8.1</hutool-all.version>
|
|
|
+ <thymeleaf.version>2.2.6.RELEASE</thymeleaf.version>
|
|
|
+ <commons-codec.version>1.9</commons-codec.version>
|
|
|
+ <aliyun-sdk-core.version>4.0.3</aliyun-sdk-core.version>
|
|
|
+ <junit.version>4.12</junit.version>
|
|
|
+ <logstash.version>6.3</logstash.version>
|
|
|
+ <wxpay-sdk.version>0.0.3</wxpay-sdk.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <!--<dependency>-->
|
|
|
+ <!--<groupId>org.springframework.boot</groupId>-->
|
|
|
+ <!--<artifactId>spring-boot-starter-security</artifactId>-->
|
|
|
+ <!--</dependency>-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.integration</groupId>
|
|
|
+ <artifactId>spring-integration-redis</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-devtools</artifactId>
|
|
|
+ <scope>runtime</scope>
|
|
|
+ <optional>true</optional>
|
|
|
+ </dependency>
|
|
|
+ <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>
|
|
|
+
|
|
|
+ <!--mybatis-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis.spring.boot</groupId>
|
|
|
+ <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
+ <version>${mybatis.version}</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>mybatis</artifactId>
|
|
|
+ <groupId>org.mybatis</groupId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
+ <version>${mybatis-plus.version}</version>
|
|
|
+ <!--<exclusions>-->
|
|
|
+ <!--<exclusion>-->
|
|
|
+ <!--<artifactId>mybatis</artifactId>-->
|
|
|
+ <!--<groupId>org.mybatis</groupId>-->
|
|
|
+ <!--</exclusion>-->
|
|
|
+ <!--</exclusions>-->
|
|
|
+ </dependency>
|
|
|
+ <!--<dependency>-->
|
|
|
+ <!--<groupId>com.baomidou</groupId>-->
|
|
|
+ <!--<artifactId>mybatis-plus-generator</artifactId>-->
|
|
|
+ <!--<version>3.2.0</version>-->
|
|
|
+ <!--</dependency>-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.velocity</groupId>
|
|
|
+ <artifactId>velocity-engine-core</artifactId>
|
|
|
+ <version>${velocity.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <version>${projectlombok.version}</version>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis.spring.boot</groupId>
|
|
|
+ <artifactId>mybatis-spring-boot-autoconfigure</artifactId>
|
|
|
+ <version>${mybatis-spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.zxing</groupId>
|
|
|
+ <artifactId>core</artifactId>
|
|
|
+ <version>${google.zxing.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.zxing</groupId>
|
|
|
+ <artifactId>javase</artifactId>
|
|
|
+ <version>${google.zxing.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!--mysql驱动-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <version>${mysql.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>druid-spring-boot-starter</artifactId>
|
|
|
+ <version>${druid.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
+ <artifactId>commons-pool2</artifactId>
|
|
|
+ <version>${commons-pool2.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!--fastjson-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
+ <version>${fastjson.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!--okhttp3-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.squareup.okhttp3</groupId>
|
|
|
+ <artifactId>okhttp</artifactId>
|
|
|
+ <version>${okhttp3.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!--swagger接口文档框架-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
+ <artifactId>springfox-swagger2</artifactId>
|
|
|
+ <version>${swagger.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
+ <artifactId>springfox-swagger-ui</artifactId>
|
|
|
+ <version>${swagger.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.xiaoymin</groupId>
|
|
|
+ <artifactId>swagger-bootstrap-ui</artifactId>
|
|
|
+ <version>${swagger-bootstrap.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 支持 @ConfigurationProperties 注解 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
+ <optional>true</optional>
|
|
|
+ </dependency>
|
|
|
+ <!-- fix swagger input报错-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.swagger</groupId>
|
|
|
+ <artifactId>swagger-annotations</artifactId>
|
|
|
+ <version>${io-swagger.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.swagger</groupId>
|
|
|
+ <artifactId>swagger-models</artifactId>
|
|
|
+ <version>${io-swagger.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!--更换undertow容器-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-undertow</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.bouncycastle</groupId>
|
|
|
+ <artifactId>bcprov-jdk15on</artifactId>
|
|
|
+ <version>${bcprov-jdk15on.version}</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.coobird</groupId>
|
|
|
+ <artifactId>thumbnailator</artifactId>
|
|
|
+ <version>${thumbnailator.version}</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.jsonwebtoken</groupId>
|
|
|
+ <artifactId>jjwt</artifactId>
|
|
|
+ <version>${io.jsonwebtoken.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun.oss</groupId>
|
|
|
+ <artifactId>aliyun-sdk-oss</artifactId>
|
|
|
+ <version>${aliyun-sdk-oss.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.httpcomponents</groupId>
|
|
|
+ <artifactId>httpclient</artifactId>
|
|
|
+ <version>${httpclient.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.httpcomponents</groupId>
|
|
|
+ <artifactId>httpmime</artifactId>
|
|
|
+ <version>${httpclient.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!--模板组件-->
|
|
|
+ <!--<dependency>-->
|
|
|
+ <!--<groupId>org.springframework.boot</groupId>-->
|
|
|
+ <!--<artifactId>spring-boot-starter-thymeleaf</artifactId>-->
|
|
|
+ <!--<version>${thymeleaf.version}</version>-->
|
|
|
+ <!--</dependency>-->
|
|
|
+ <!--模板组件END-->
|
|
|
+
|
|
|
+ <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-codec</groupId>
|
|
|
+ <artifactId>commons-codec</artifactId>
|
|
|
+ <version>${commons-codec.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun</groupId>
|
|
|
+ <artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
+ <version>${aliyun-sdk-core.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
+ <version>2.1.0.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
+ <version>2.1.0.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
+ <version>2.1.3.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.logstash.logback</groupId>
|
|
|
+ <artifactId>logstash-logback-encoder</artifactId>
|
|
|
+ <version>${logstash.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.wxpay</groupId>
|
|
|
+ <artifactId>wxpay-sdk</artifactId>
|
|
|
+ <version>${wxpay-sdk.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!--企业微信api-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.binarywang</groupId>
|
|
|
+ <artifactId>weixin-java-cp</artifactId>
|
|
|
+ <version>${weixin-java.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 微信支付 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.binarywang</groupId>
|
|
|
+ <artifactId>weixin-java-pay</artifactId>
|
|
|
+ <version>${weixin-java.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 微信小程序 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.binarywang</groupId>
|
|
|
+ <artifactId>weixin-java-miniapp</artifactId>
|
|
|
+ <version>${weixin-java.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.binarywang</groupId>
|
|
|
+ <artifactId>weixin-java-mp</artifactId>
|
|
|
+ <version>${weixin-java.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!--hutool-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.hutool</groupId>
|
|
|
+ <artifactId>hutool-all</artifactId>
|
|
|
+ <version>${hutool-all.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 校验 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-validation</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!--单元测试的依赖-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <version>${junit.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.mail</groupId>
|
|
|
+ <artifactId>javax.mail</artifactId>
|
|
|
+ <version>1.5.5</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <!-- 本地开发环境 -->
|
|
|
+ <id>dev</id>
|
|
|
+ <properties>
|
|
|
+ <profiles.active>dev</profiles.active>
|
|
|
+ </properties>
|
|
|
+ <activation>
|
|
|
+ <!-- 设置默认激活这个配置 -->
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <!-- 测试环境 -->
|
|
|
+ <id>test</id>
|
|
|
+ <properties>
|
|
|
+ <profiles.active>test</profiles.active>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <!-- 正式环境 -->
|
|
|
+ <id>prd</id>
|
|
|
+ <properties>
|
|
|
+ <profiles.active>prd</profiles.active>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+<!-- <configuration>-->
|
|
|
+<!-- <jvmArguments>-->
|
|
|
+<!-- -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9090-->
|
|
|
+<!-- </jvmArguments>-->
|
|
|
+<!-- </configuration>-->
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>com.plus.plugin</groupId>
|
|
|
+ <artifactId>plus-maven-plugin</artifactId>
|
|
|
+ <version>5.0.0-SNAPSHOT</version>
|
|
|
+ <configuration>
|
|
|
+ <configPath>src/main/resources/generator-${profiles.active}.properties</configPath>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+
|
|
|
+ <repositories>
|
|
|
+ <repository>
|
|
|
+ <id>nexus</id>
|
|
|
+ <name>Releases</name>
|
|
|
+ <url>http://121.43.111.127:8081/repository/maven-public</url>
|
|
|
+ <releases>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </releases>
|
|
|
+ <!--snapshots默认是关闭的,需要开启 -->
|
|
|
+ <snapshots>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </snapshots>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
+ <pluginRepositories>
|
|
|
+ <pluginRepository>
|
|
|
+ <id>nexus</id>
|
|
|
+ <name>Releases</name>
|
|
|
+ <url>http://121.43.111.127:8081/repository/maven-public</url>
|
|
|
+ </pluginRepository>
|
|
|
+ </pluginRepositories>
|
|
|
+
|
|
|
+</project>
|