|
|
<?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">
|
|
|
<parent>
|
|
|
<groupId>com.jiuyv</groupId>
|
|
|
<artifactId>carcheck-console</artifactId>
|
|
|
<version>1.0.5-SNAPSHOT</version>
|
|
|
</parent>
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
<packaging>jar</packaging>
|
|
|
<artifactId>carcheck-admin</artifactId>
|
|
|
<description>web服务入口</description>
|
|
|
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.jiuyv</groupId>
|
|
|
<artifactId>smtools</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!--business=========================================-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-quartz</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Mysql驱动包 -->
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- json logstash encoder -->
|
|
|
<dependency>
|
|
|
<groupId>net.logstash.logback</groupId>
|
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!--generator=========================================-->
|
|
|
<!--velocity代码生成使用模板 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- collections工具类 -->
|
|
|
<dependency>
|
|
|
<groupId>commons-collections</groupId>
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!--framework=========================================-->
|
|
|
<!-- SpringBoot Web容器 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SpringBoot 拦截器 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 阿里数据库连接池 -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 验证码 -->
|
|
|
<dependency>
|
|
|
<groupId>com.github.penggle</groupId>
|
|
|
<artifactId>kaptcha</artifactId>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 获取系统信息 -->
|
|
|
<dependency>
|
|
|
<groupId>com.github.oshi</groupId>
|
|
|
<artifactId>oshi-core</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!--common=========================================-->
|
|
|
<!-- Spring框架基本的核心工具 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SpringWeb模块 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- spring security 安全认证 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- pagehelper 分页插件 -->
|
|
|
<dependency>
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 自定义验证注解 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!--常用工具类 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-codec</groupId>
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- JSON工具类 -->
|
|
|
<dependency>
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 阿里JSON解析器 -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- io常用工具类 -->
|
|
|
<dependency>
|
|
|
<groupId>commons-io</groupId>
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 文件上传工具类 -->
|
|
|
<dependency>
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- excel工具 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
<!-- <exclusions>-->
|
|
|
<!-- <exclusion>-->
|
|
|
<!-- <groupId>org.apache.commons</groupId>-->
|
|
|
<!-- <artifactId>commons-compress</artifactId>-->
|
|
|
<!-- </exclusion>-->
|
|
|
<!-- </exclusions>-->
|
|
|
</dependency>
|
|
|
|
|
|
<!-- yml解析器 -->
|
|
|
<dependency>
|
|
|
<groupId>org.yaml</groupId>
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Token生成与解析-->
|
|
|
<dependency>
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Jaxb -->
|
|
|
<dependency>
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>io.netty</groupId>
|
|
|
<artifactId>netty-codec</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>io.netty</groupId>
|
|
|
<artifactId>netty-transport</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- pool 对象池 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 解析客户端操作系统、浏览器等 -->
|
|
|
<dependency>
|
|
|
<groupId>eu.bitwalker</groupId>
|
|
|
<artifactId>UserAgentUtils</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- servlet包 -->
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
<artifactId>guava</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
</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>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<skip>true</skip>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<version>2.1.1.RELEASE</version>
|
|
|
<configuration>
|
|
|
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
|
|
</configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<goals>
|
|
|
<goal>repackage</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
|
|
|
<!--前后端合并-->
|
|
|
<!--clean插件 -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
<version>${maven.clean.version}</version>
|
|
|
<configuration>
|
|
|
<filesets>
|
|
|
<fileset>
|
|
|
<directory>src/main/resources/public</directory>
|
|
|
</fileset>
|
|
|
</filesets>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
<version>${maven.resource.version}</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>copy static</id>
|
|
|
<phase>generate-resources</phase>
|
|
|
<goals>
|
|
|
<goal>copy-resources</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
<outputDirectory>src/main/resources/public</outputDirectory>
|
|
|
<overwrite>true</overwrite>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<!--因为vue-cli打包的目录在项目的根目录,所以从这里复制 -->
|
|
|
<directory>${project.parent.basedir}/carcheck-ui/dist</directory>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<source>8</source>
|
|
|
<target>8</target>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</project> |