<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.whyc</groupId>
|
<artifactId>powerIntelligenceSystem</artifactId>
|
<version>1.0</version>
|
<packaging>jar</packaging>
|
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<!--<version>1.5.20.RELEASE</version>-->
|
<version>2.1.12.RELEASE</version>
|
<!--<version>2.2.0.RELEASE</version>-->
|
<relativePath/>
|
</parent>
|
|
<dependencies>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
<exclusions>
|
<exclusion>
|
<groupId>org.apache.tomcat.embed</groupId>
|
<artifactId>tomcat-embed-core</artifactId>
|
</exclusion>
|
</exclusions>
|
</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-starter-mail</artifactId>
|
</dependency>
|
<!--<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
<version>4.3.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.xerial</groupId>
|
<artifactId>sqlite-jdbc</artifactId>
|
</dependency>-->
|
<!--添加aop-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-aop</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<version>8.0.11</version>
|
</dependency>
|
<dependency>
|
<groupId>com.google.code.gson</groupId>
|
<artifactId>gson</artifactId>
|
<version>2.8.5</version>
|
</dependency>
|
<dependency>
|
<groupId>net.sf.json-lib</groupId>
|
<artifactId>json-lib</artifactId>
|
<version>2.4</version>
|
<classifier>jdk15</classifier>
|
</dependency>
|
<!--websocket-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
</dependency>
|
<!--pageHelper分页-->
|
<dependency>
|
<groupId>com.github.pagehelper</groupId>
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
<version>1.2.5</version>
|
</dependency>
|
<!--mybatis 及mybatis-plus-->
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<version>3.1.2</version>
|
<exclusions>
|
<exclusion>
|
<artifactId>mybatis</artifactId>
|
<groupId>org.mybatis</groupId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis</groupId>
|
<artifactId>mybatis</artifactId>
|
<version>3.5.3</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.github.xiaoymin</groupId>
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
<version>2.0.2</version>
|
</dependency>
|
<!--连接池-->
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-extension</artifactId>
|
<version>3.1.2</version>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid</artifactId>
|
<version>1.1.10</version>
|
</dependency>
|
<!--shiro-->
|
<dependency>
|
<groupId>org.apache.shiro</groupId>
|
<artifactId>shiro-spring-boot-web-starter</artifactId>
|
<version>1.5.3</version>
|
</dependency>
|
|
<dependency>
|
<groupId>commons-codec</groupId>
|
<artifactId>commons-codec</artifactId>
|
<version>1.15</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.ulisesbocchio</groupId>
|
<artifactId>jasypt-spring-boot-starter</artifactId>
|
<version>3.0.4</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-cache</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
<artifactId>caffeine</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-context-support</artifactId>
|
<version>5.3.9</version>
|
</dependency>
|
<!--poi-->
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml</artifactId>
|
<version>3.10.1</version>
|
</dependency>
|
<dependency>
|
<groupId>cn.afterturn</groupId>
|
<artifactId>easypoi-spring-boot-starter</artifactId>
|
<version>4.1.2</version>
|
<exclusions>
|
<exclusion>
|
<groupId>com.google.guava</groupId>
|
<artifactId>guava</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml-schemas</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<!--<dependency>
|
<groupId>org.springframework.plugin</groupId>
|
<artifactId>spring-plugin-core</artifactId>
|
<version>2.0.0.RELEASE</version>
|
</dependency>
|
<!– 避免版本冲突 –>
|
<dependency>
|
<groupId>com.google.guava</groupId>
|
<artifactId>guava</artifactId>
|
<version>29.0-jre</version>
|
</dependency>-->
|
<!--pageHelper分页-->
|
|
<!--commons.lang3 RSA签名验证md5使用-->
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-lang3</artifactId>
|
<version>3.4</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml</artifactId>
|
<version>4.1.2</version>
|
</dependency>
|
<!--外部引入-人脸识别sdk-->
|
<dependency>
|
<groupId>org.apache.tomcat.embed</groupId>
|
<artifactId>tomcat-embed-core</artifactId>
|
<version>0.0.0</version>
|
<scope>system</scope>
|
<systemPath>${pom.basedir}/src/main/resources/lib/tomcat-embed-core-9.0.30.jar</systemPath>
|
</dependency>
|
<dependency>
|
<groupId>com.whyc.hik</groupId>
|
<artifactId>jna</artifactId>
|
<version>0.0.0</version>
|
<scope>system</scope>
|
<systemPath>${pom.basedir}/src/main/resources/lib/hik/jna.jar</systemPath>
|
</dependency>
|
<dependency>
|
<groupId>com.whyc.hik</groupId>
|
<artifactId>examples</artifactId>
|
<version>0.0.0</version>
|
<scope>system</scope>
|
<systemPath>${pom.basedir}/src/main/resources/lib/hik/examples.jar</systemPath>
|
</dependency>
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-logging</artifactId>
|
<exclusions>
|
<exclusion>
|
<!--排除log4j依赖-->
|
<groupId>org.apache.logging.log4j</groupId>
|
<artifactId>log4j-to-slf4j</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>commons-io</groupId>
|
<artifactId>commons-io</artifactId>
|
<version>2.15.0</version>
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<!--必须是这个1.4.2版本!!!否则打成jar无法访问页面!!-->
|
<version>1.4.2.RELEASE</version>
|
<configuration>
|
<!-- 工程主入口-->
|
<mainClass>com.whyc.App</mainClass>
|
<fork>true</fork>
|
<includeSystemScope>true</includeSystemScope><!--添加此项-->
|
</configuration>
|
</plugin>
|
</plugins>
|
<!-- 指定资源文件的位置,否则maven打包的时候不会把文件打包进去,导致thymeleaf无法解析 -->
|
<resources>
|
<resource>
|
<directory>src/main/resources</directory>
|
</resource>
|
<resource>
|
<directory>src/main/webapp</directory>
|
<targetPath>META-INF/resources</targetPath>
|
<includes>
|
<include>**/**</include>
|
</includes>
|
</resource>
|
|
</resources>
|
</build>
|
|
</project>
|