203 lines
5.5 KiB
XML
203 lines
5.5 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>3.1.3</version>
|
|
<relativePath /> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<groupId>net.geedge</groupId>
|
|
<artifactId>nz-talon</artifactId>
|
|
<version>2.0</version>
|
|
<name>nz-talon</name>
|
|
<description>nezha promtail config sync talon</description>
|
|
<properties>
|
|
<java.version>21</java.version>
|
|
<log4j2.version>2.17.0</log4j2.version>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.30</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
<version>5.5.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>1.2.45</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.oshi</groupId>
|
|
<artifactId>oshi-core</artifactId>
|
|
<version>6.2.2</version>
|
|
</dependency>
|
|
<!-- 添加 XJar 依赖 -->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.github.core-lib</groupId>-->
|
|
<!-- <artifactId>xjar</artifactId>-->
|
|
<!-- <version>4.0.1</version>-->
|
|
<!-- <!– <scope>test</scope> –>-->
|
|
<!-- </dependency>-->
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.11.0</version>
|
|
<configuration>
|
|
<release>${java.version}</release>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- 跳过单元测试 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- 添加 XJar Maven 插件 -->
|
|
<plugin>
|
|
<groupId>com.mesalab.xjar-maven-plugin</groupId>
|
|
<artifactId>mesalab-xjar-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>build</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
|
|
<configuration>
|
|
<!-- <password>111111</password>-->
|
|
<!-- <includes>-->
|
|
<!-- <include>cn/nis/ntc/**</include>-->
|
|
<!-- </includes>-->
|
|
<!-- <excludes>-->
|
|
<!-- <exclude>cn/nis/ntc/api/config/Swagger2Configuration.class</exclude>-->
|
|
<!-- </excludes>-->
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<!-- 配置私服地址 -->
|
|
<repository>
|
|
<id>nexus</id>
|
|
<name>Team Nexus Repository</name>
|
|
<url>http://192.168.40.153:8099/content/groups/public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>nexus-releases</id>
|
|
<name>Team Nexus Repository</name>
|
|
<url>http://192.168.40.153:8099/content/repositories/releases/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>nexus-geedge</id>
|
|
<name>Team Nexus Repository</name>
|
|
<url>http://192.168.40.153:8099/content/repositories/geedge/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
|
|
<!--opennum仓库-->
|
|
<repository>
|
|
<id>opennms</id>
|
|
<name>opennms</name>
|
|
<url>https://repo.opennms.org/maven2/</url>
|
|
</repository>
|
|
|
|
<!-- 设置 jitpack.io 仓库 -->
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>nexus</id>
|
|
<name>Team Nexus Repository</name>
|
|
<url>http://192.168.40.153:8099/content/groups/public/</url>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>nexus-releases</id>
|
|
<name>Team Nexus Repository</name>
|
|
<url>http://192.168.40.153:8099/content/repositories/releases/</url>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>nexus-geedge</id>
|
|
<name>Team Nexus Repository</name>
|
|
<url>http://192.168.40.153:8099/content/repositories/geedge/</url>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
|
|
<!-- 设置 jitpack.io 插件仓库 -->
|
|
<pluginRepository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
</project>
|