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.
279 lines
9.4 KiB
279 lines
9.4 KiB
1 year 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">
|
||
|
<parent>
|
||
|
<artifactId>sh_wcs</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>
|
||
|
</properties>
|
||
|
<dependencies>
|
||
|
<!-- ip地址解析-->
|
||
|
<dependency>
|
||
|
<groupId>net.dreamlu</groupId>
|
||
|
<artifactId>mica-ip2region</artifactId>
|
||
|
<version>2.5.6</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.openscada.utgard</groupId>
|
||
|
<artifactId>org.openscada.opc.lib</artifactId>
|
||
|
<version>1.5.0</version>
|
||
|
</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>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.lucene</groupId>
|
||
|
<artifactId>lucene-queryparser</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.springframework.boot</groupId>-->
|
||
|
<!-- <artifactId>spring-boot-starter-data-mongodb</artifactId>-->
|
||
|
<!-- <version>1.5.9.RELEASE</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>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<version>1.18.2</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>jul-to-slf4j</artifactId>
|
||
|
<version>1.7.30</version>
|
||
|
</dependency>
|
||
|
<!--mysql数据库驱动 -->
|
||
|
<dependency>
|
||
|
<groupId>mysql</groupId>
|
||
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
<version>${mysql.version}</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>
|
||
|
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>exec-maven-plugin</artifactId>
|
||
|
<version>1.6.0</version>
|
||
|
<!-- <executions>-->
|
||
|
<!-- <execution>-->
|
||
|
<!-- <goals>-->
|
||
|
<!-- <goal>java</goal>-->
|
||
|
<!-- </goals>-->
|
||
|
<!-- </execution>-->
|
||
|
<!-- </executions>-->
|
||
|
<configuration>
|
||
|
<classpathScope>test</classpathScope>
|
||
|
<!-- <mainClass>com.itheima.test.MybatisTest</mainClass>-->
|
||
|
</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>
|
||
|
|