|
@@ -1,264 +1,264 @@
|
|
|
<?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.2.1.RELEASE</version>
|
|
|
- <relativePath/> <!-- lookup parent from repository -->
|
|
|
- </parent>
|
|
|
- <groupId>com.jpsoft</groupId>
|
|
|
- <artifactId>epay-server</artifactId>
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
- <name>epay-server</name>
|
|
|
- <description>电表缴费</description>
|
|
|
+ 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.2.1.RELEASE</version>
|
|
|
+ <relativePath/> <!-- lookup parent from repository -->
|
|
|
+ </parent>
|
|
|
+ <groupId>com.jpsoft</groupId>
|
|
|
+ <artifactId>smart-community-server</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ <name>smart-community-server</name>
|
|
|
+ <description>智慧小区</description>
|
|
|
|
|
|
- <properties>
|
|
|
- <java.version>1.8</java.version>
|
|
|
- <swagger2.version>2.7.0</swagger2.version>
|
|
|
- <jwts.version>0.10.5</jwts.version>
|
|
|
- <netty-all.version>4.1.6.Final</netty-all.version>
|
|
|
- <lombok.version>1.16.12</lombok.version>
|
|
|
- <fastjson.version>1.2.29</fastjson.version>
|
|
|
- <alipay.version>4.8.10.ALL</alipay.version>
|
|
|
- <ijpay.version>2.3.2</ijpay.version>
|
|
|
- </properties>
|
|
|
+ <properties>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <swagger2.version>2.7.0</swagger2.version>
|
|
|
+ <jwts.version>0.10.5</jwts.version>
|
|
|
+ <netty-all.version>4.1.6.Final</netty-all.version>
|
|
|
+ <lombok.version>1.16.12</lombok.version>
|
|
|
+ <fastjson.version>1.2.29</fastjson.version>
|
|
|
+ <alipay.version>4.8.10.ALL</alipay.version>
|
|
|
+ <ijpay.version>2.3.2</ijpay.version>
|
|
|
+ </properties>
|
|
|
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-web</artifactId>
|
|
|
- </dependency>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-devtools</artifactId>
|
|
|
- <scope>runtime</scope>
|
|
|
- <optional>true</optional>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
- <optional>true</optional>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-devtools</artifactId>
|
|
|
+ <scope>runtime</scope>
|
|
|
+ <optional>true</optional>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <optional>true</optional>
|
|
|
+ </dependency>
|
|
|
|
|
|
-<!-- <dependency>-->
|
|
|
-<!-- <groupId>org.slf4j</groupId>-->
|
|
|
-<!-- <artifactId>slf4j-api</artifactId>-->
|
|
|
-<!-- <version>1.7.25</version>-->
|
|
|
-<!-- </dependency>-->
|
|
|
+ <!-- <dependency>-->
|
|
|
+ <!-- <groupId>org.slf4j</groupId>-->
|
|
|
+ <!-- <artifactId>slf4j-api</artifactId>-->
|
|
|
+ <!-- <version>1.7.25</version>-->
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
|
-<!-- <dependency>-->
|
|
|
-<!-- <groupId>org.slf4j</groupId>-->
|
|
|
-<!-- <artifactId>slf4j-log4j12</artifactId>-->
|
|
|
-<!-- <version>1.7.25</version>-->
|
|
|
-<!-- </dependency>-->
|
|
|
+ <!-- <dependency>-->
|
|
|
+ <!-- <groupId>org.slf4j</groupId>-->
|
|
|
+ <!-- <artifactId>slf4j-log4j12</artifactId>-->
|
|
|
+ <!-- <version>1.7.25</version>-->
|
|
|
+ <!-- </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>
|
|
|
+ <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-aop</artifactId>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-aop</artifactId>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>io.springfox</groupId>
|
|
|
- <artifactId>springfox-swagger2</artifactId>
|
|
|
- <version>${swagger2.version}</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
+ <artifactId>springfox-swagger2</artifactId>
|
|
|
+ <version>${swagger2.version}</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>io.springfox</groupId>
|
|
|
- <artifactId>springfox-swagger-ui</artifactId>
|
|
|
- <version>${swagger2.version}</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
+ <artifactId>springfox-swagger-ui</artifactId>
|
|
|
+ <version>${swagger2.version}</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <!--jwt start-->
|
|
|
- <dependency>
|
|
|
- <groupId>io.jsonwebtoken</groupId>
|
|
|
- <artifactId>jjwt-api</artifactId>
|
|
|
- <version>0.10.5</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>io.jsonwebtoken</groupId>
|
|
|
- <artifactId>jjwt-impl</artifactId>
|
|
|
- <version>${jwts.version}</version>
|
|
|
- <scope>runtime</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>io.jsonwebtoken</groupId>
|
|
|
- <artifactId>jjwt-jackson</artifactId>
|
|
|
- <version>${jwts.version}</version>
|
|
|
- <scope>runtime</scope>
|
|
|
- </dependency>
|
|
|
- <!--jwt end-->
|
|
|
+ <!--jwt start-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.jsonwebtoken</groupId>
|
|
|
+ <artifactId>jjwt-api</artifactId>
|
|
|
+ <version>0.10.5</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.jsonwebtoken</groupId>
|
|
|
+ <artifactId>jjwt-impl</artifactId>
|
|
|
+ <version>${jwts.version}</version>
|
|
|
+ <scope>runtime</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.jsonwebtoken</groupId>
|
|
|
+ <artifactId>jjwt-jackson</artifactId>
|
|
|
+ <version>${jwts.version}</version>
|
|
|
+ <scope>runtime</scope>
|
|
|
+ </dependency>
|
|
|
+ <!--jwt end-->
|
|
|
|
|
|
- <!--logging start-->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-logging</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.lazyluke</groupId>
|
|
|
- <artifactId>log4jdbc-remix</artifactId>
|
|
|
- <version>0.2.7</version>
|
|
|
- </dependency>
|
|
|
- <!--logging end-->
|
|
|
+ <!--logging start-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-logging</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.lazyluke</groupId>
|
|
|
+ <artifactId>log4jdbc-remix</artifactId>
|
|
|
+ <version>0.2.7</version>
|
|
|
+ </dependency>
|
|
|
+ <!--logging end-->
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>io.netty</groupId>
|
|
|
- <artifactId>netty-all</artifactId>
|
|
|
- <version>${netty-all.version}</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.netty</groupId>
|
|
|
+ <artifactId>netty-all</artifactId>
|
|
|
+ <version>${netty-all.version}</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
- <version>${lombok.version}</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <version>${lombok.version}</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>fastjson</artifactId>
|
|
|
- <version>${fastjson.version}</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
+ <version>${fastjson.version}</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>com.github.dozermapper</groupId>
|
|
|
- <artifactId>dozer-core</artifactId>
|
|
|
- <version>6.4.1</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.dozermapper</groupId>
|
|
|
+ <artifactId>dozer-core</artifactId>
|
|
|
+ <version>6.4.1</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <!-- 数据库相关 start-->
|
|
|
- <dependency>
|
|
|
- <groupId>org.mybatis.spring.boot</groupId>
|
|
|
- <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
- <version>2.0.1</version>
|
|
|
- </dependency>
|
|
|
+ <!-- 数据库相关 start-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis.spring.boot</groupId>
|
|
|
+ <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
+ <version>2.0.1</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>mysql</groupId>
|
|
|
- <artifactId>mysql-connector-java</artifactId>
|
|
|
- <scope>runtime</scope>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <scope>runtime</scope>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>com.github.pagehelper</groupId>
|
|
|
- <artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
- <version>LATEST</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.pagehelper</groupId>
|
|
|
+ <artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
+ <version>LATEST</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>druid-spring-boot-starter</artifactId>
|
|
|
- <version>1.1.10</version>
|
|
|
- </dependency>
|
|
|
- <!-- 数据库相关 end-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>druid-spring-boot-starter</artifactId>
|
|
|
+ <version>1.1.10</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 数据库相关 end-->
|
|
|
|
|
|
- <!--支付相关 start-->
|
|
|
- <dependency>
|
|
|
- <groupId>com.github.javen205</groupId>
|
|
|
- <artifactId>IJPay-All</artifactId>
|
|
|
- <version>${ijpay.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.jfinal</groupId>
|
|
|
- <artifactId>jfinal</artifactId>
|
|
|
- <version>3.5</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.alipay.sdk</groupId>
|
|
|
- <artifactId>alipay-sdk-java</artifactId>
|
|
|
- <version>${alipay.version}</version>
|
|
|
- </dependency>
|
|
|
- <!--支付相关 end-->
|
|
|
+ <!--支付相关 start-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.javen205</groupId>
|
|
|
+ <artifactId>IJPay-All</artifactId>
|
|
|
+ <version>${ijpay.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.jfinal</groupId>
|
|
|
+ <artifactId>jfinal</artifactId>
|
|
|
+ <version>3.5</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alipay.sdk</groupId>
|
|
|
+ <artifactId>alipay-sdk-java</artifactId>
|
|
|
+ <version>${alipay.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!--支付相关 end-->
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>cn.hutool</groupId>
|
|
|
- <artifactId>hutool-all</artifactId>
|
|
|
- <version>5.0.6</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.hutool</groupId>
|
|
|
+ <artifactId>hutool-all</artifactId>
|
|
|
+ <version>5.0.6</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <fork>true</fork>
|
|
|
- <addResources>true</addResources>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
- <version>2.16</version>
|
|
|
- <configuration>
|
|
|
- <includes>
|
|
|
- <include>**/*TestForPack.java</include>
|
|
|
- </includes>
|
|
|
- <argLine>-Xmx256M</argLine>
|
|
|
- </configuration>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.maven.surefire</groupId>
|
|
|
- <artifactId>surefire-junit47</artifactId>
|
|
|
- <version>2.16</version>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
- <profiles>
|
|
|
- <profile>
|
|
|
- <id>dev</id>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- <activation>
|
|
|
- <activeByDefault>true</activeByDefault>
|
|
|
- </activation>
|
|
|
- <properties>
|
|
|
- <active.profile>dev</active.profile>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- <profile>
|
|
|
- <id>test</id>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- <properties>
|
|
|
- <active.profile>test</active.profile>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- <profile>
|
|
|
- <id>production</id>
|
|
|
- <properties>
|
|
|
- <active.profile>production</active.profile>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- </profiles>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <fork>true</fork>
|
|
|
+ <addResources>true</addResources>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ <version>2.16</version>
|
|
|
+ <configuration>
|
|
|
+ <includes>
|
|
|
+ <include>**/*TestForPack.java</include>
|
|
|
+ </includes>
|
|
|
+ <argLine>-Xmx256M</argLine>
|
|
|
+ </configuration>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.maven.surefire</groupId>
|
|
|
+ <artifactId>surefire-junit47</artifactId>
|
|
|
+ <version>2.16</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>dev</id>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ <properties>
|
|
|
+ <active.profile>dev</active.profile>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>test</id>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <properties>
|
|
|
+ <active.profile>test</active.profile>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>production</id>
|
|
|
+ <properties>
|
|
|
+ <active.profile>production</active.profile>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
</project>
|