feat(scanner): 增加设备参数获取与管理功能
- 新增HGLibDeviceParam构造函数支持Pointer初始化 - 新增HGLibDeviceParamGroup构造函数支持Pointer初始化 - 新增getDeviceParam方法获取设备参数结构体- 新增getIntDeviceParam、getEnumDeviceParam等类型安全的参数获取方法 - 新增getDeviceParamGroupList方法获取参数组列表 - 新增getDeviceParamsByGroup方法获取指定组的参数列表 - 新增resetDeviceParam方法重置设备参数 - 新增getDeviceParamDescription方法获取参数描述信息 - 引入IntByReference类用于参数计数引用传递 - 调整Maven GPG插件和Central发布插件配置至release profile - 升级项目版本号从1.0.2到1.0.3
This commit is contained in:
85
pom.xml
85
pom.xml
@ -7,7 +7,7 @@
|
||||
<!-- 基本信息 -->
|
||||
<groupId>vip.jcfd</groupId>
|
||||
<artifactId>HuaGoScanner-SDK</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<version>1.0.3</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<!-- 项目信息 -->
|
||||
@ -102,48 +102,6 @@
|
||||
<target>11</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- Maven GPG Plugin - 用于签名构件 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<!-- 使用环境变量中的gpg密钥密码 -->
|
||||
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
|
||||
<!-- 指定GPG可执行文件路径 -->
|
||||
<executable>gpg</executable>
|
||||
<!-- 使用默认密钥 -->
|
||||
<useAgent>true</useAgent>
|
||||
<!-- 设置gpg主目录 -->
|
||||
<gpgArguments>
|
||||
<arg>--pinentry-mode</arg>
|
||||
<arg>loopback</arg>
|
||||
</gpgArguments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- Central Publishing Plugin - 发布到Maven Central -->
|
||||
<plugin>
|
||||
<groupId>org.sonatype.central</groupId>
|
||||
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||
<version>0.9.0</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<publishingServerId>central</publishingServerId>
|
||||
<!-- 确保所有文件都被签名 -->
|
||||
<autoPublish>true</autoPublish>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
@ -153,6 +111,47 @@
|
||||
<id>release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Maven GPG Plugin - 用于签名构件 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<!-- 使用环境变量中的gpg密钥密码 -->
|
||||
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
|
||||
<!-- 指定GPG可执行文件路径 -->
|
||||
<executable>gpg</executable>
|
||||
<!-- 使用默认密钥 -->
|
||||
<useAgent>true</useAgent>
|
||||
<!-- 设置gpg主目录 -->
|
||||
<gpgArguments>
|
||||
<arg>--pinentry-mode</arg>
|
||||
<arg>loopback</arg>
|
||||
</gpgArguments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- Central Publishing Plugin - 发布到Maven Central -->
|
||||
<plugin>
|
||||
<groupId>org.sonatype.central</groupId>
|
||||
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||
<version>0.9.0</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<publishingServerId>central</publishingServerId>
|
||||
<!-- 确保所有文件都被签名 -->
|
||||
<autoPublish>true</autoPublish>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- 在发布时激活source和javadoc插件 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
||||
Reference in New Issue
Block a user