You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
541 lines
18 KiB
541 lines
18 KiB
2 weeks ago
|
<?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>
|
||
|
<parent>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
|
<version>2.2.10.RELEASE</version>
|
||
|
</parent>
|
||
|
|
||
|
<groupId>org.nl</groupId>
|
||
|
<artifactId>test</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
<java.version>1.8</java.version>
|
||
|
<log4jdbc.version>1.16</log4jdbc.version>
|
||
|
<druid.version>1.1.22</druid.version>
|
||
|
<mapstruct.version>1.2.0.Final</mapstruct.version>
|
||
|
<sa-token.version>1.31.0</sa-token.version>
|
||
|
<hutool.version>5.8.22</hutool.version>
|
||
|
<jjwt.version>0.11.1</jjwt.version>
|
||
|
<lucene.version>8.2.0</lucene.version>
|
||
|
<!-- <lucene.version>7.6.0</lucene.version>-->
|
||
|
<!-- oshi监控需要指定jna版本, 问题详见 https://github.com/oshi/oshi/issues/1040 -->
|
||
|
<jna.version>5.9.0</jna.version>
|
||
|
<configuration.version>1.9</configuration.version>
|
||
|
<commons-csv.version>1.8</commons-csv.version>
|
||
|
</properties>
|
||
|
<dependencies>
|
||
|
<!-- https://mvnrepository.com/artifact/org.jetbrains/annotations -->
|
||
|
<dependency>
|
||
|
<groupId>org.jetbrains</groupId>
|
||
|
<artifactId>annotations</artifactId>
|
||
|
<version>13.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.codehaus.groovy</groupId>
|
||
|
<artifactId>groovy-all</artifactId>
|
||
|
<version>3.0.13</version>
|
||
|
<type>pom</type>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.dromara.dynamictp</groupId>
|
||
|
<artifactId>dynamic-tp-spring-boot-starter-adapter-webserver</artifactId>
|
||
|
<version>1.1.7</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Lucence核心包 -->
|
||
|
<dependency>
|
||
|
<groupId>com.yomahub</groupId>
|
||
|
<artifactId>tlog-all-spring-boot-starter</artifactId>
|
||
|
<version>1.5.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.lucene</groupId>
|
||
|
<artifactId>lucene-core</artifactId>
|
||
|
<version>${lucene.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.lucene</groupId>
|
||
|
<artifactId>lucene-highlighter</artifactId>
|
||
|
<version>${lucene.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.lucene</groupId>
|
||
|
<artifactId>lucene-analyzers-common</artifactId>
|
||
|
<version>${lucene.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.github.magese</groupId>
|
||
|
<artifactId>ik-analyzer</artifactId>
|
||
|
<version>${lucene.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!--支持中文分词 -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.lucene</groupId>
|
||
|
<artifactId>lucene-analyzers-smartcn</artifactId>
|
||
|
<version>${lucene.version}</version>
|
||
|
</dependency>
|
||
|
<!-- Lucene查询解析包 -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.lucene</groupId>
|
||
|
<artifactId>lucene-queryparser</artifactId>
|
||
|
<version>${lucene.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<!-- 日志链路追踪 https://tlog.yomahub.com/pages/f62a84/#%E5%90%8C%E6%AD%A5%E6%97%A5%E5%BF%97-->
|
||
|
<!--<dependency>
|
||
|
<groupId>com.yomahub</groupId>
|
||
|
<artifactId>tlog-all-spring-boot-starter</artifactId>
|
||
|
<version>1.5.0</version>
|
||
|
</dependency>-->
|
||
|
|
||
|
<!-- 获取系统信息 -->
|
||
|
<dependency>
|
||
|
<groupId>com.github.oshi</groupId>
|
||
|
<artifactId>oshi-core</artifactId>
|
||
|
<version>5.0.1</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- logback appender日志-->
|
||
|
<dependency>
|
||
|
<groupId>com.internetitem</groupId>
|
||
|
<artifactId>logback-elasticsearch-appender</artifactId>
|
||
|
<version>1.6</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- https://onew.me/logback/2018/09/17/logback_win.html-->
|
||
|
<dependency>
|
||
|
<groupId>org.fusesource.jansi</groupId>
|
||
|
<artifactId>jansi</artifactId>
|
||
|
<version>1.9</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!--工具包-->
|
||
|
<dependency>
|
||
|
<groupId>cn.hutool</groupId>
|
||
|
<artifactId>hutool-all</artifactId>
|
||
|
<version>${hutool.version}</version>
|
||
|
</dependency>
|
||
|
<!--Spring boot 核心 -->
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.github.pagehelper</groupId>
|
||
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||
|
<version>1.2.12</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.mybatis</groupId>
|
||
|
<artifactId>mybatis</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<!--Spring boot Web容器-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--Spring boot 测试-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Sa-Token 权限认证 安全框架, 在线文档:http://sa-token.dev33.cn/ -->
|
||
|
<dependency>
|
||
|
<groupId>cn.dev33</groupId>
|
||
|
<artifactId>sa-token-spring-boot-starter</artifactId>
|
||
|
<version>${sa-token.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>cn.dev33</groupId>
|
||
|
<artifactId>sa-token-sso</artifactId>
|
||
|
<version>${sa-token.version}</version>
|
||
|
</dependency>
|
||
|
<!-- Sa-Token 整合 jwt -->
|
||
|
<dependency>
|
||
|
<groupId>cn.dev33</groupId>
|
||
|
<artifactId>sa-token-jwt</artifactId>
|
||
|
<version>${sa-token.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- spring boot 缓存 -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-cache</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-lang3</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--监控sql日志-->
|
||
|
<dependency>
|
||
|
<groupId>org.bgee.log4jdbc-log4j2</groupId>
|
||
|
<artifactId>log4jdbc-log4j2-jdbc4.1</artifactId>
|
||
|
<version>${log4jdbc.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!--Mysql依赖包-->
|
||
|
<dependency>
|
||
|
<groupId>mysql</groupId>
|
||
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- druid数据源驱动 -->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>druid-spring-boot-starter</artifactId>
|
||
|
<version>${druid.version}</version>
|
||
|
</dependency>
|
||
|
<!--lombok插件-->
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>cn.dev33</groupId>
|
||
|
<artifactId>sa-token-dao-redis</artifactId>
|
||
|
<version>1.31.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.baomidou</groupId>
|
||
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
|
<version>3.4.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.velocity</groupId>
|
||
|
<artifactId>velocity-engine-core</artifactId>
|
||
|
<version>2.3</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.baomidou</groupId>
|
||
|
<artifactId>mybatis-plus-generator</artifactId>
|
||
|
<version>3.4.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>xerces</groupId>
|
||
|
<artifactId>xercesImpl</artifactId>
|
||
|
<version>2.12.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<!--mapStruct依赖-->
|
||
|
<dependency>
|
||
|
<groupId>org.mapstruct</groupId>
|
||
|
<artifactId>mapstruct</artifactId>
|
||
|
<version>${mapstruct.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.mapstruct</groupId>
|
||
|
<artifactId>mapstruct-processor</artifactId>
|
||
|
<version>${mapstruct.version}</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>javax.inject</groupId>
|
||
|
<artifactId>javax.inject</artifactId>
|
||
|
<version>1</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Java图形验证码 -->
|
||
|
<dependency>
|
||
|
<groupId>com.github.whvcse</groupId>
|
||
|
<artifactId>easy-captcha</artifactId>
|
||
|
<version>1.6.2</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 解析客户端操作系统、浏览器信息 -->
|
||
|
<dependency>
|
||
|
<groupId>nl.basjes.parse.useragent</groupId>
|
||
|
<artifactId>yauaa</artifactId>
|
||
|
<version>5.23</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>eu.bitwalker</groupId>
|
||
|
<artifactId>UserAgentUtils</artifactId>
|
||
|
<version>1.21</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!--WQL-->
|
||
|
<dependency>
|
||
|
<groupId>com.hynnet</groupId>
|
||
|
<artifactId>jxl</artifactId>
|
||
|
<version>2.6.12.1</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>commons-beanutils</groupId>
|
||
|
<artifactId>commons-beanutils-core</artifactId>
|
||
|
<version>1.8.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!--接口限流-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-aop</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--模板引擎-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- https://mvnrepository.com/artifact/commons-configuration/commons-configuration -->
|
||
|
<dependency>
|
||
|
<groupId>commons-configuration</groupId>
|
||
|
<artifactId>commons-configuration</artifactId>
|
||
|
<version>${configuration.version}</version>
|
||
|
</dependency>
|
||
|
<!-- ****************** -->
|
||
|
<dependency>
|
||
|
<groupId>com.alicp.jetcache</groupId>
|
||
|
<artifactId>jetcache-starter-redis</artifactId>
|
||
|
<version>2.5.14</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.oracle.database.jdbc</groupId>
|
||
|
<artifactId>ojdbc5</artifactId>
|
||
|
<version>11.2.0.4</version>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<!-- https://www.jianshu.com/p/e40d111c7bfc?utm_source=oschina-app 热部署 https://zhuanlan.zhihu.com/p/63381268-->
|
||
|
|
||
|
<!-- Spring boot websocket -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.redisson</groupId>
|
||
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
||
|
<version>3.16.4</version>
|
||
|
</dependency>
|
||
|
<!-- jwt -->
|
||
|
<dependency>
|
||
|
<groupId>io.jsonwebtoken</groupId>
|
||
|
<artifactId>jjwt-impl</artifactId>
|
||
|
<version>${jjwt.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.jsonwebtoken</groupId>
|
||
|
<artifactId>jjwt-jackson</artifactId>
|
||
|
<version>${jjwt.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- quartz -->
|
||
|
<dependency>
|
||
|
<groupId>org.quartz-scheduler</groupId>
|
||
|
<artifactId>quartz</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- linux的管理 -->
|
||
|
<dependency>
|
||
|
<groupId>ch.ethz.ganymed</groupId>
|
||
|
<artifactId>ganymed-ssh2</artifactId>
|
||
|
<version>build210</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.jcraft</groupId>
|
||
|
<artifactId>jsch</artifactId>
|
||
|
<version>0.1.55</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 导入Excel相关-->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>easyexcel</artifactId>
|
||
|
<version>2.2.6</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.json</groupId>
|
||
|
<artifactId>json</artifactId>
|
||
|
<version>20131018</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>commons-io</groupId>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
<version>2.8.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.openscada.jinterop</groupId>
|
||
|
<artifactId>org.openscada.jinterop.core</artifactId>
|
||
|
<version>2.1.8</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.bouncycastle</groupId>
|
||
|
<artifactId>bcprov-jdk15on</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.openscada.jinterop</groupId>
|
||
|
<artifactId>org.openscada.jinterop.deps</artifactId>
|
||
|
<version>1.5.0</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.bouncycastle</groupId>
|
||
|
<artifactId>bcprov-jdk15on</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.openscada.utgard</groupId>
|
||
|
<artifactId>org.openscada.opc.dcom</artifactId>
|
||
|
<version>1.5.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.openscada.utgard</groupId>
|
||
|
<artifactId>org.openscada.opc.lib</artifactId>
|
||
|
<version>1.5.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.bouncycastle</groupId>
|
||
|
<artifactId>bcprov-jdk15on</artifactId>
|
||
|
<version>1.54</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!--导出CSV相关-->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-csv</artifactId>
|
||
|
<version>${commons-csv.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.apache.poi</groupId>
|
||
|
<artifactId>poi</artifactId>
|
||
|
<version>4.1.2</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.poi</groupId>
|
||
|
<artifactId>poi-ooxml</artifactId>
|
||
|
<version>4.1.2</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.poi</groupId>
|
||
|
<artifactId>poi-ooxml-schemas</artifactId>
|
||
|
<version>4.1.2</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.retry</groupId>
|
||
|
<artifactId>spring-retry</artifactId>
|
||
|
<version>1.2.5.RELEASE</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.swagger</groupId>
|
||
|
<artifactId>swagger-annotations</artifactId>
|
||
|
<version>1.5.22</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<version>4.11</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<!--Milo客户端的依赖-->
|
||
|
<dependency>
|
||
|
<groupId>org.eclipse.milo</groupId>
|
||
|
<artifactId>sdk-client</artifactId>
|
||
|
<version>0.6.3</version>
|
||
|
</dependency>
|
||
|
<!--Milo客户端的依赖-->
|
||
|
<dependency>
|
||
|
<groupId>org.eclipse.milo</groupId>
|
||
|
<artifactId>sdk-server</artifactId>
|
||
|
<version>0.6.3</version>
|
||
|
</dependency>
|
||
|
<!--<dependency>
|
||
|
<groupId>xerces</groupId>
|
||
|
<artifactId>xercesImpl</artifactId>
|
||
|
<version>2.12.0</version>
|
||
|
</dependency>-->
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.apache.poi</groupId>
|
||
|
<artifactId>poi-ooxml</artifactId>
|
||
|
<version>5.2.5</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>easyexcel</artifactId>
|
||
|
<version>3.1.0</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<finalName>${project.artifactId}</finalName>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
<version>2.2.10.RELEASE</version>
|
||
|
<configuration>
|
||
|
<mainClass>org.nl.AppRun</mainClass>
|
||
|
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
||
|
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<goals>
|
||
|
<goal>repackage</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-war-plugin</artifactId>
|
||
|
<version>3.2.2</version>
|
||
|
<configuration>
|
||
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||
|
<warName>${project.artifactId}</warName>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
|
||
|
<!--把包路径下所有的文件(如.wql)都编译打包到target中,默认只能打包java文件-->
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>${basedir}/src/main/java</directory>
|
||
|
<includes>
|
||
|
<include>**/*.*</include>
|
||
|
</includes>
|
||
|
<excludes>
|
||
|
<exclude>**/*.java</exclude>
|
||
|
</excludes>
|
||
|
</resource>
|
||
|
<resource>
|
||
|
<directory>${basedir}/src/main/resources</directory>
|
||
|
<includes>
|
||
|
<include>**/*.*</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
|
||
|
</build>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</project>
|