2024-05-13 14:41:54 +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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>org.aohe</groupId>
|
|
|
|
<artifactId>sane-service</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2024-05-14 15:12:21 +08:00
|
|
|
|
|
|
|
<java.version>21</java.version>
|
|
|
|
<graalvm.version>23.1.0</graalvm.version>
|
|
|
|
<native.maven.plugin.version>0.10.1</native.maven.plugin.version>
|
|
|
|
<start-class>org.aohe.Main</start-class>
|
|
|
|
|
2024-05-13 14:41:54 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2024-05-14 15:12:21 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-net</groupId>
|
|
|
|
<artifactId>commons-net</artifactId>
|
|
|
|
<version>3.10.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-to-slf4j</artifactId>
|
|
|
|
<version>2.23.1</version>
|
|
|
|
</dependency>
|
2024-05-13 14:41:54 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.jfreesane</groupId>
|
|
|
|
<artifactId>jfreesane</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.4.14</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
|
<version>2.0.37</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
<version>5.8.25</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
<version>1.18.30</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2024-05-14 15:12:21 +08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.11.0</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<finalName>${project.build.finalName}</finalName>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>${start-class}</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.graalvm.buildtools</groupId>
|
|
|
|
<artifactId>native-maven-plugin</artifactId>
|
|
|
|
<version>${native.maven.plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<skip>false</skip>
|
|
|
|
<useArgFile>false</useArgFile>
|
|
|
|
<imageName>${project.artifactId}</imageName>
|
|
|
|
<mainClass>${start-class}</mainClass>
|
|
|
|
<buildArgs>
|
|
|
|
--no-fallback
|
|
|
|
-H:-CheckToolchain
|
|
|
|
</buildArgs>
|
|
|
|
<!-- GraalVM 可达性元数据支持 -->
|
|
|
|
<!-- https://github.com/oracle/graalvm-reachability-metadata -->
|
|
|
|
<metadataRepository>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</metadataRepository>
|
|
|
|
<!--
|
|
|
|
<agent>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</agent>
|
|
|
|
-->
|
|
|
|
</configuration>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<!-- [WARNING] 'native:build' goal is deprecated. Use 'native:compile-no-fork' instead. -->
|
|
|
|
<goal>compile-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2024-05-13 14:41:54 +08:00
|
|
|
|
|
|
|
</project>
|