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>
|
2024-06-11 14:13:05 +08:00
|
|
|
<version>0.3.4</version>
|
2024-05-28 13:53:31 +08:00
|
|
|
|
|
|
|
<name>aohe-sane-service</name>
|
2024-05-13 14:41:54 +08:00
|
|
|
|
|
|
|
<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>
|
2024-05-20 17:38:58 +08:00
|
|
|
<scope>provided</scope>
|
2024-05-13 14:41:54 +08:00
|
|
|
<version>1.18.30</version>
|
|
|
|
</dependency>
|
2024-05-15 20:24:05 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.java-websocket</groupId>
|
|
|
|
<artifactId>Java-WebSocket</artifactId>
|
2024-06-11 14:13:05 +08:00
|
|
|
<version>1.5.6</version>
|
2024-05-15 20:24:05 +08:00
|
|
|
</dependency>
|
2024-05-28 13:53:31 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.formdev</groupId>
|
|
|
|
<artifactId>flatlaf</artifactId>
|
|
|
|
<version>3.4.1</version>
|
|
|
|
<classifier>no-natives</classifier>
|
|
|
|
</dependency>
|
2024-06-04 14:58:49 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.sanyarnd</groupId>
|
|
|
|
<artifactId>app-locker</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
2024-05-28 13:53:31 +08:00
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>com.formdev</groupId>-->
|
|
|
|
<!-- <artifactId>flatlaf</artifactId>-->
|
|
|
|
<!-- <version>3.4.1</version>-->
|
|
|
|
<!-- <classifier>linux-x86_64</classifier>-->
|
|
|
|
<!-- <type>so</type>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
2024-05-13 14:41:54 +08:00
|
|
|
</dependencies>
|
2024-05-14 15:12:21 +08:00
|
|
|
<build>
|
2024-05-15 20:24:05 +08:00
|
|
|
<finalName>sane-service-v${project.version}</finalName>
|
2024-05-14 15:12:21 +08:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.11.0</version>
|
|
|
|
</plugin>
|
2024-05-20 17:38:58 +08:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2024-05-14 15:12:21 +08:00
|
|
|
<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>
|
2024-05-23 14:38:08 +08:00
|
|
|
<groupId>io.github.fvarrui</groupId>
|
|
|
|
<artifactId>javapackager</artifactId>
|
|
|
|
<version>1.7.5</version>
|
2024-05-14 15:12:21 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2024-05-23 14:38:08 +08:00
|
|
|
<phase>package</phase>
|
2024-05-14 15:12:21 +08:00
|
|
|
<goals>
|
2024-05-23 14:38:08 +08:00
|
|
|
<goal>package</goal>
|
2024-05-14 15:12:21 +08:00
|
|
|
</goals>
|
2024-05-23 14:38:08 +08:00
|
|
|
<configuration>
|
|
|
|
<!-- mandatory -->
|
|
|
|
<mainClass>org.aohe.Main</mainClass>
|
|
|
|
<!-- optional -->
|
|
|
|
<bundleJre>true</bundleJre>
|
|
|
|
<generateInstaller>true</generateInstaller>
|
|
|
|
<administratorRequired>false</administratorRequired>
|
|
|
|
<platform>linux</platform>
|
2024-05-31 16:08:18 +08:00
|
|
|
<displayName>奥诃影像扫描控件</displayName>
|
2024-06-03 13:59:41 +08:00
|
|
|
<description>奥诃公司为影像 WEB 应用开发的 USB 扫描仪连接驱动,请搭配 WEB 产品使用。</description>
|
2024-05-23 14:38:08 +08:00
|
|
|
<linuxConfig>
|
2024-06-11 14:13:05 +08:00
|
|
|
<!-- <generateAppImage>true</generateAppImage>-->
|
2024-05-23 14:38:08 +08:00
|
|
|
<generateDeb>true</generateDeb>
|
|
|
|
<generateRpm>true</generateRpm>
|
|
|
|
<wrapJar>true</wrapJar>
|
|
|
|
</linuxConfig>
|
|
|
|
</configuration>
|
2024-05-14 15:12:21 +08:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2024-05-13 14:41:54 +08:00
|
|
|
|
|
|
|
</project>
|