|
|
<?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>
|
|
|
|
|
|
<groupId>org.example</groupId>
|
|
|
<artifactId>IntelligentCommunity</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
<name>IntelligentCommunity Maven Webapp</name>
|
|
|
<url>http://www.example.com</url>
|
|
|
|
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
</properties>
|
|
|
|
|
|
<parent>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
<version>2.2.2.RELEASE</version>
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
<!-- <artifactId>spring-boot-starter-web</artifactId>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<!-- 部署到tomcat上,需要移除springboot自带的tomcat容器 以下都是 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
<!-- 移除嵌入式tomcat插件 -->
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
<version>4.0.1</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>javax.websocket</groupId>
|
|
|
<artifactId>javax.websocket-api</artifactId>
|
|
|
<version>1.1</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>javax</groupId>
|
|
|
<artifactId>javaee-api</artifactId>
|
|
|
<version>7.0</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<!-- 部署到tomcat上,需要移除springboot自带的tomcat容器 以上都是 -->
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>junit</groupId>
|
|
|
<artifactId>junit</artifactId>
|
|
|
<version>4.11</version>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
<!--支持热部署的依赖-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
</dependency>
|
|
|
<!--支持springboot的单元测试的依赖-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
</dependency>
|
|
|
<!--整合mybatis和springboot-->
|
|
|
<dependency>
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
<version>1.3.2</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
<artifactId>mybatis</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<!-- 引入autoconfigure -->
|
|
|
<dependency>
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
<artifactId>mybatis-spring-boot-autoconfigure</artifactId>
|
|
|
<version>2.1.4</version>
|
|
|
</dependency>
|
|
|
<!--整合mybatisPlus和springboot-->
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
<version>3.4.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<!-- 南宁本地数据库版本 -->
|
|
|
<!-- <version>8.0.12</version>-->
|
|
|
<!-- localhost本地+test服务器数据库版本 -->
|
|
|
<version>5.1.47</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--PageHelper分页插件依赖-->
|
|
|
<dependency>
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
<version>1.2.10</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 添加springboot对amqp的支持 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-amqp</artifactId>
|
|
|
<version>2.5.5</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--redis-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>redis.clients</groupId>
|
|
|
<artifactId>jedis</artifactId>
|
|
|
<version>2.8.0</version>
|
|
|
</dependency>
|
|
|
<!--字符串-->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
<version>3.3.2</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
|
|
|
<dependency>
|
|
|
<groupId>commons-codec</groupId>
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
<version>1.12</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- lombok -->
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<version>1.18.12</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!--shiro依赖-->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
<artifactId>shiro-all</artifactId>
|
|
|
<version>1.5.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- POI-->
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi</artifactId>
|
|
|
<version>3.6</version>
|
|
|
</dependency>
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
<version>3.6</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- thymeleaf -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 二维码 -->
|
|
|
<dependency>
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
<artifactId>core</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
<artifactId>javase</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>log4j</groupId>
|
|
|
<artifactId>log4j</artifactId>
|
|
|
<version>1.2.12</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 极光推送 -->
|
|
|
<dependency>
|
|
|
<groupId>cn.jpush.api</groupId>
|
|
|
<artifactId>jpush-client</artifactId>
|
|
|
<version>3.4.8</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.jpush.api</groupId>
|
|
|
<artifactId>jiguang-common</artifactId>
|
|
|
<version>1.1.10</version>
|
|
|
</dependency>
|
|
|
<!-- 定时任务调度 quartz -->
|
|
|
<dependency>
|
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
|
<artifactId>quartz</artifactId>
|
|
|
<version>2.2.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- jcookSDK -->
|
|
|
<dependency>
|
|
|
<groupId>com.jcook.sdk</groupId>
|
|
|
<artifactId>jcook-sdk-java</artifactId>
|
|
|
<version>1.0.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 支付宝SDK -->
|
|
|
<dependency>
|
|
|
<groupId>com.alipay.sdk</groupId>
|
|
|
<artifactId>alipay-sdk-java</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--短信sdk-->
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
<version>3.3.1</version>
|
|
|
<!-- <version>4.5.3</version>-->
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
<artifactId>aliyun-java-sdk-dysmsapi</artifactId>
|
|
|
<version>1.1.0</version>
|
|
|
</dependency>
|
|
|
<!-- OkHttp3 -->
|
|
|
<dependency>
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
<version>3.9.1</version>
|
|
|
</dependency>
|
|
|
<!-- 解析html -->
|
|
|
<dependency>
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
<version>1.8.3</version>
|
|
|
</dependency>
|
|
|
<!-- fastjson -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>1.2.41</version>
|
|
|
</dependency>
|
|
|
<!-- pdf中添加文字和图片 -->
|
|
|
<dependency>
|
|
|
<groupId>com.itextpdf</groupId>
|
|
|
<artifactId>itextpdf</artifactId>
|
|
|
<version>5.4.3</version>
|
|
|
</dependency>
|
|
|
<!-- itextpdf的亚洲字体支持 -->
|
|
|
<dependency>
|
|
|
<groupId>com.itextpdf</groupId>
|
|
|
<artifactId>itext-asian</artifactId>
|
|
|
<version>5.2.0</version>
|
|
|
</dependency>
|
|
|
<!-- Cacheable换成 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
|
</dependency>
|
|
|
<!-- AOP -->
|
|
|
<dependency>
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
<version>1.9.4</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- webSocket 开始-->
|
|
|
<!--websocket依赖-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
</dependency>
|
|
|
<!-- Gson依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>com.squareup.retrofit2</groupId>
|
|
|
<artifactId>converter-gson</artifactId>
|
|
|
<version>2.6.2</version>
|
|
|
</dependency>
|
|
|
<!-- webSocket 结束-->
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.github.wxpay</groupId>
|
|
|
<artifactId>wxpay-sdk</artifactId>
|
|
|
<version>0.0.3</version>
|
|
|
</dependency>
|
|
|
<!--微信 -->
|
|
|
<dependency>
|
|
|
<groupId>com.github.liyiorg</groupId>
|
|
|
<artifactId>weixin-popular</artifactId>
|
|
|
<version>2.8.5</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.jdom/jdom2 -->
|
|
|
<dependency>
|
|
|
<groupId>org.jdom</groupId>
|
|
|
<artifactId>jdom2</artifactId>
|
|
|
<version>2.0.6.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- <!– https://mvnrepository.com/artifact/org.dom4j/dom4j –>-->
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>org.dom4j</groupId>-->
|
|
|
<!-- <artifactId>dom4j</artifactId>-->
|
|
|
<!-- <version>2.1.3</version>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-httpclient</groupId>
|
|
|
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
|
|
|
<version>3.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!--微信支付扩展包-->
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>com.github.wechatpay-apiv3</groupId>-->
|
|
|
<!-- <artifactId>wechatpay-apache-httpclient</artifactId>-->
|
|
|
<!-- <version>0.3.0</version>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.github.wechatpay-apiv3</groupId>
|
|
|
<artifactId>wechatpay-apache-httpclient</artifactId>
|
|
|
<version>0.4.8</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.github.javen205/IJPay-WxPay -->
|
|
|
<dependency>
|
|
|
<groupId>com.github.javen205</groupId>
|
|
|
<artifactId>IJPay-WxPay</artifactId>
|
|
|
<version>2.8.4</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.integration</groupId>
|
|
|
<artifactId>spring-integration-mqtt</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<finalName>IntelligentCommunity</finalName>
|
|
|
<!-- xxx.jar没有主清单属性-->
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<version>2.2.2.RELEASE</version>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>3.8.1</version>
|
|
|
<configuration>
|
|
|
<source>8</source>
|
|
|
<target>8</target>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
|
<!-- 自动将新保存的文件或目录及其他资源更新到target目录 -->
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<directory>src/main/java</directory>
|
|
|
<includes>
|
|
|
<include>**/*.*</include>
|
|
|
</includes>
|
|
|
</resource>
|
|
|
<resource>
|
|
|
<directory>src/main/resources</directory>
|
|
|
<includes>
|
|
|
<include>**/*.*</include>
|
|
|
</includes>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
</build>
|
|
|
</project>
|