2022-07-06 18:32:05 +08:00
|
|
|
|
<?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>nladmin</artifactId>
|
|
|
|
|
|
<groupId>org.nl</groupId>
|
|
|
|
|
|
<version>2.6</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.5.0</jna.version>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
2022-07-07 18:29:37 +08:00
|
|
|
|
|
2022-08-05 13:53:58 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alicp.jetcache</groupId>
|
|
|
|
|
|
<artifactId>jetcache-starter-redis</artifactId>
|
|
|
|
|
|
<version>2.5.14</version>
|
|
|
|
|
|
</dependency>
|
2022-07-07 18:29:37 +08:00
|
|
|
|
|
2022-07-06 18:32:05 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.nl</groupId>
|
|
|
|
|
|
<artifactId>nladmin-wql</artifactId>
|
|
|
|
|
|
<version>2.7</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.oracle.database.jdbc</groupId>
|
|
|
|
|
|
<artifactId>ojdbc5</artifactId>
|
|
|
|
|
|
<version>11.2.0.4</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>
|
|
|
|
|
|
</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>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 打包 -->
|
|
|
|
|
|
<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>
|
|
|
|
|
|
</resources>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
</project>
|