259 lines
8.4 KiB
XML
259 lines
8.4 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>jt_agv</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.5.0</jna.version>
|
||
<elasticsearch.version>7.6.1</elasticsearch.version>
|
||
</properties>
|
||
<dependencies>
|
||
|
||
<dependency>
|
||
<groupId>edu.brown.cs.burlap</groupId>
|
||
<artifactId>java_rosbridge</artifactId>
|
||
<version>2.0.1</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>edu.wpi.rail</groupId>
|
||
<artifactId>jrosbridge</artifactId>
|
||
<version>0.2.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.reflections</groupId>
|
||
<artifactId>reflections</artifactId>
|
||
<version>0.9.10</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.elasticsearch</groupId>
|
||
<artifactId>jna</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>4.8.1</version>
|
||
</dependency>
|
||
|
||
<!--lucene相关-->
|
||
<dependency>
|
||
<groupId>org.apache.lucene</groupId>
|
||
<artifactId>lucene-core</artifactId>
|
||
<version>8.4.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.lucene</groupId>
|
||
<artifactId>lucene-analyzers-common</artifactId>
|
||
<version>8.4.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.lucene</groupId>
|
||
<artifactId>lucene-analyzers-smartcn</artifactId>
|
||
<version>8.4.0</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.6</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>commons-lang</artifactId>
|
||
<groupId>commons-lang</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.guava</groupId>
|
||
<artifactId>guava</artifactId>
|
||
<version>20.0</version>
|
||
<scope>compile</scope>
|
||
</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>
|
||
<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>
|
||
|