316 lines
10 KiB
XML
316 lines
10 KiB
XML
<?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>
|
||
<artifactId>whxr_mes</artifactId>
|
||
<groupId>org.nl</groupId>
|
||
<version>1.0-SNAPSHOT</version>
|
||
</parent>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<artifactId>nladmin-system</artifactId>
|
||
<name>核心模块</name>
|
||
|
||
<properties>
|
||
<jjwt.version>0.11.1</jjwt.version>
|
||
<!-- oshi监控需要指定jna版本, 问题详见 https://github.com/oshi/oshi/issues/1040 -->
|
||
<jna.version>5.9.0</jna.version>
|
||
</properties>
|
||
|
||
<repositories>
|
||
<repository>
|
||
<id>com.e-iceblue</id>
|
||
<url>http://repo.e-iceblue.cn/repository/maven-public/</url>
|
||
</repository>
|
||
</repositories>
|
||
|
||
<dependencies>
|
||
|
||
<!-- https://mvnrepository.com/artifact/net.coobird/thumbnailator -->
|
||
<dependency>
|
||
<groupId>net.coobird</groupId>
|
||
<artifactId>thumbnailator</artifactId>
|
||
<version>0.4.8</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.redisson</groupId>
|
||
<artifactId>redisson-spring-boot-starter</artifactId>
|
||
<version>3.12.3</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
<groupId>org.springframework.boot</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
|
||
<!-- Excel打印-->
|
||
<dependency>
|
||
<groupId>e-iceblue</groupId>
|
||
<artifactId>spire.xls.free</artifactId>
|
||
<version>5.1.0</version>
|
||
</dependency>
|
||
<!-- 二维码生成-->
|
||
<dependency>
|
||
<groupId>com.google.zxing</groupId>
|
||
<artifactId>core</artifactId>
|
||
<version>3.3.3</version>
|
||
</dependency>
|
||
<!-- easyWord相关-->
|
||
<dependency>
|
||
<groupId>com.sushengren</groupId>
|
||
<artifactId>easyword</artifactId>
|
||
<version>1.1.4</version>
|
||
</dependency>
|
||
<!-- 线性代数矩阵求解
|
||
<dependency>
|
||
<groupId>gov.nist.math</groupId>
|
||
<artifactId>jama</artifactId>
|
||
<version>1.0.3</version>
|
||
</dependency>-->
|
||
<!-- ip地址解析-->
|
||
<dependency>
|
||
<groupId>net.dreamlu</groupId>
|
||
<artifactId>mica-ip2region</artifactId>
|
||
<version>2.5.6</version>
|
||
</dependency>
|
||
|
||
<!--oracle-->
|
||
<!--<dependency>
|
||
<groupId>com.oracle.database.jdbc</groupId>
|
||
<artifactId>ojdbc8</artifactId>
|
||
<version>21.1.0.0</version>
|
||
</dependency>-->
|
||
<!-- https://mvnrepository.com/artifact/com.oracle.database.jdbc/ojdbc5 -->
|
||
<dependency>
|
||
<groupId>com.oracle.database.jdbc</groupId>
|
||
<artifactId>ojdbc5</artifactId>
|
||
<version>11.2.0.4</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.microsoft.sqlserver</groupId>
|
||
<artifactId>mssql-jdbc</artifactId>
|
||
<version>6.4.0.jre8</version>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.reflections</groupId>
|
||
<artifactId>reflections</artifactId>
|
||
<version>0.9.10</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>4.8.1</version>
|
||
</dependency>
|
||
|
||
<!-- 导入Excel相关-->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>easyexcel</artifactId>
|
||
<version>2.2.6</version>
|
||
</dependency>
|
||
|
||
<!--导出CSV相关-->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-csv</artifactId>
|
||
<version>1.8</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
<version>2.8.0</version>
|
||
</dependency>
|
||
|
||
<!-- 代码生成模块 -->
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nladmin-generator</artifactId>
|
||
<version>2.6</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nladmin-common</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
|
||
<!-- https://www.jianshu.com/p/e40d111c7bfc?utm_source=oschina-app 热部署 https://zhuanlan.zhihu.com/p/63381268-->
|
||
|
||
<!-- tools 模块包含了 common 和 logging 模块 -->
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nladmin-tools</artifactId>
|
||
<version>2.6</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>bcprov-jdk15on</artifactId>
|
||
<groupId>org.bouncycastle</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<!-- 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.nl</groupId>
|
||
<artifactId>nladmin-wql</artifactId>
|
||
<version>2.7</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>commons-lang</artifactId>
|
||
<groupId>commons-lang</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>nladmin-logging</artifactId>
|
||
<groupId>org.nl</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.guava</groupId>
|
||
<artifactId>guava</artifactId>
|
||
<version>20.0</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<version>${mysql.version}</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<!-- 打包 -->
|
||
<build>
|
||
<plugins>
|
||
<!-- 引入第三方jar包,https://blog.csdn.net/J080624/article/details/81505937-->
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
||
<!-- <configuration>-->
|
||
<!-- <includeSystemScope>true</includeSystemScope>-->
|
||
<!-- </configuration>-->
|
||
<!-- </plugin>-->
|
||
|
||
<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>
|
||
|
||
<!--单元测试时引用src/main/resources下的资源文件-->
|
||
<!-- <testResources>
|
||
<testResource>
|
||
<directory>src/test/resources</directory>
|
||
</testResource>
|
||
<testResource>
|
||
<directory>src/main/resources</directory>
|
||
</testResource>
|
||
</testResources>-->
|
||
</build>
|
||
|
||
<!-- <repositories>
|
||
<repository>
|
||
<id>public</id>
|
||
<name>aliyun nexus</name>
|
||
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
</repository>
|
||
</repositories>-->
|
||
|
||
<!--<repository>
|
||
<id>nexus</id>
|
||
<name>aliyun nexus</name>
|
||
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
</repository>
|
||
</repositories>-->
|
||
</project>
|
||
|