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.
538 lines
18 KiB
538 lines
18 KiB
<?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.nl</groupId>
|
|
<artifactId>nladmin-system</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
<groupId>org.nl</groupId>
|
|
<artifactId>nlsso-server</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>nlsso-server</name>
|
|
|
|
|
|
<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>
|
|
<swagger.version>2.9.2</swagger.version>
|
|
<fastjson.version>1.2.70</fastjson.version>
|
|
<druid.version>1.1.22</druid.version>
|
|
<commons-pool2.version>2.5.0</commons-pool2.version>
|
|
<mapstruct.version>1.3.1.Final</mapstruct.version>
|
|
<sa-token.version>1.31.0</sa-token.version>
|
|
<hutool.version>5.7.14</hutool.version>
|
|
<jjwt.version>0.11.1</jjwt.version>
|
|
<!-- oshi监控需要指定jna版本, 问题详见 https://github.com/oshi/oshi/issues/1040 -->
|
|
<jna.version>5.9.0</jna.version>
|
|
<lucene.version>8.2.0</lucene.version>
|
|
<configuration.version>1.9</configuration.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- 日志链路追踪 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-web-spring-boot-starter</artifactId>
|
|
<version>1.5.0</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>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>5.2.9.RELEASE</version>
|
|
</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>
|
|
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>0.9.10</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>
|
|
<!--Spring boot 安全框架-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-starter-security</artifactId>-->
|
|
<!-- </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>
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-dao-redis</artifactId>
|
|
<version>1.31.0</version>
|
|
</dependency>
|
|
|
|
<!-- Sa-Token插件:权限缓存与业务缓存分离 -->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-alone-redis</artifactId>
|
|
<version>1.33.0</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- spring boot 缓存 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
</dependency>
|
|
|
|
<!--Spring boot Redis-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
</dependency>
|
|
|
|
<!--spring boot 集成redis所需common-pool2-->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
<version>${commons-pool2.version}</version>
|
|
</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>
|
|
|
|
<!-- Swagger UI 相关 -->
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<version>${swagger.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
<version>${swagger.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<version>1.5.21</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
<version>1.5.21</version>
|
|
</dependency>
|
|
|
|
<!--Mysql依赖包-->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- druid数据源驱动 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
<version>${druid.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.dreamlu</groupId>
|
|
<artifactId>mica-ip2region</artifactId>
|
|
<version>2.5.6</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.lionsoul</groupId>
|
|
<artifactId>ip2region</artifactId>
|
|
<version>1.7.2</version>
|
|
</dependency>
|
|
<!--lombok插件-->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- excel工具 -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>4.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>4.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
|
<version>4.0.0</version>
|
|
</dependency>
|
|
|
|
<!-- fastjson -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>${fastjson.version}</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.aspectj</groupId>
|
|
<artifactId>aspectjweaver</artifactId>
|
|
<version>1.9.2</version>
|
|
</dependency>
|
|
|
|
<!--接口限流-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>29.0-jre</version>
|
|
</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>
|
|
|
|
<!-- jwt -->
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-api</artifactId>
|
|
<version>${jjwt.version}</version>
|
|
</dependency>
|
|
<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>
|
|
|
|
<!-- 获取系统信息 -->
|
|
<dependency>
|
|
<groupId>com.github.oshi</groupId>
|
|
<artifactId>oshi-core</artifactId>
|
|
<version>5.0.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.5.13</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.transaction</groupId>
|
|
<artifactId>jakarta.transaction-api</artifactId>
|
|
<version>1.3.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.persistence</groupId>
|
|
<artifactId>jakarta.persistence-api</artifactId>
|
|
<version>2.2.3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.8.0</version>
|
|
</dependency>
|
|
|
|
<!-- Lucence核心包 -->
|
|
<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>
|
|
<!-- webService-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web-services</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxws</artifactId>
|
|
<version>3.2.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
<version>3.2.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-core</artifactId>
|
|
<version>3.3.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
<version>3.2.4</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
<distributionManagement>
|
|
<!--正式版本-->
|
|
<repository>
|
|
<!-- nexus服务器中用户名:在settings.xml中<server>的id-->
|
|
<id>nexus</id>
|
|
<!-- 这个名称自己定义 -->
|
|
<name>nexus</name>
|
|
<url>http://121.40.234.130:8081/repository/maven-releases/</url>
|
|
</repository>
|
|
<!--快照
|
|
<snapshotRepository>
|
|
<id>nexus-snapshots</id>
|
|
<name>Snapshots repository</name>
|
|
<url>http://192.168.1.105/repository/yang/</url>
|
|
</snapshotRepository>-->
|
|
</distributionManagement>
|
|
|
|
<!-- 打包 -->
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<!--添加自己的启动类路径!-->
|
|
<configuration>
|
|
<mainClass>org.nl.AppRun</mainClass>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- 跳过单元测试 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<!--把包路径下所有的文件(如.wql)都编译打包到target中,默认只能打包java文件-->
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.*</include>
|
|
</includes>
|
|
</resource>
|
|
|
|
<resource>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*.*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
</project>
|
|
|