aircraft-server/aircraft-system/pom.xml

111 lines
3.7 KiB
XML
Raw Normal View History

2025-07-08 01:04:42 +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>
2025-07-08 09:34:51 +08:00
<artifactId>aircraft-server</artifactId>
<groupId>com.aircraft</groupId>
2025-07-08 01:04:42 +08:00
<version>1.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
2025-07-08 09:34:51 +08:00
<artifactId>aircraft-system</artifactId>
2025-07-08 01:04:42 +08:00
<name>核心模块</name>
<properties>
<jjwt.version>0.11.5</jjwt.version>
<!-- oshi监控需要指定jna版本, 问题详见 https://github.com/oshi/oshi/issues/1040 -->
<jna.version>5.8.0</jna.version>
</properties>
<dependencies>
<!-- 代码生成模块 -->
<dependency>
2025-07-08 09:34:51 +08:00
<groupId>com.aircraft</groupId>
<artifactId>aircraft-generator</artifactId>
2025-07-08 01:04:42 +08:00
<version>1.1</version>
<exclusions>
<exclusion>
2025-07-08 09:34:51 +08:00
<groupId>com.aircraft</groupId>
<artifactId>aircraft-common</artifactId>
2025-07-08 01:04:42 +08:00
</exclusion>
</exclusions>
</dependency>
<!-- tools 模块包含了 common 和 logging 模块 -->
<dependency>
2025-07-08 09:34:51 +08:00
<groupId>com.aircraft</groupId>
<artifactId>aircraft-tools</artifactId>
2025-07-08 01:04:42 +08:00
<version>1.1</version>
</dependency>
<!-- quartz -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-quartz</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>
<!-- 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>6.6.5</version>
</dependency>
</dependencies>
<!-- 打包 -->
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
2025-07-10 09:49:44 +08:00
2025-07-08 01:04:42 +08:00
<!-- 跳过单元测试 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
2025-07-10 09:49:44 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<!-- 强制 JDK 17 编译 -->
<release>17</release>
</configuration>
</plugin>
2025-07-08 01:04:42 +08:00
</plugins>
</build>
</project>