From 6c1eeaf015133002c85527191fab4bfdc0f36952 Mon Sep 17 00:00:00 2001 From: zkh <1650697374@qq.com> Date: Wed, 12 Nov 2025 12:08:13 +0800 Subject: [PATCH] =?UTF-8?q?chore(pom):=20=E6=9B=B4=E6=96=B0Maven=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BB=A5=E6=94=AF=E6=8C=81=E4=B8=AD=E5=A4=AE=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E5=8F=91=E5=B8=83-=20=E7=A7=BB=E9=99=A4maven-assembly?= =?UTF-8?q?-plugin=E3=80=81maven-source-plugin=E5=92=8Cmaven-javadoc-plugi?= =?UTF-8?q?n=E9=85=8D=E7=BD=AE=20-=20=E6=9B=BF=E6=8D=A2nexus-staging-maven?= =?UTF-8?q?-plugin=E4=B8=BAcentral-publishing-maven-plugin=20-=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0GPG=E6=8F=92=E4=BB=B6=E9=85=8D=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E5=8F=AF=E6=89=A7=E8=A1=8C=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E5=92=8C=E5=8F=82=E6=95=B0=20-=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=98=BF=E9=87=8C=E4=BA=91Maven=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E4=BB=A5=E5=8A=A0=E9=80=9F=E4=BE=9D=E8=B5=96=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?-=20=E7=A7=BB=E9=99=A4distributionManagement=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E4=BD=BF=E7=94=A8=E6=96=B0=E7=9A=84=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=20-=20=E7=AE=80=E5=8C=96=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96=E6=8F=92=E4=BB=B6=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 185 ++++--------------- src/main/java/vip/jcfd/sdk/HGScannerLib.java | 2 - 2 files changed, 41 insertions(+), 146 deletions(-) diff --git a/pom.xml b/pom.xml index 4e30139..b602348 100644 --- a/pom.xml +++ b/pom.xml @@ -64,34 +64,33 @@ + + + central + https://maven.aliyun.com/repository/central + + true + + + true + + + + + + central + https://maven.aliyun.com/repository/central + + true + + + true + + + + - - - org.apache.maven.plugins - maven-assembly-plugin - 3.6.0 - - - jar-with-dependencies - - - - - - - - - - - make-assembly - package - - single - - - - @@ -104,43 +103,6 @@ - - - org.apache.maven.plugins - maven-source-plugin - 3.3.0 - - - attach-sources - - jar - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.5.0 - - none - 11 - UTF-8 - UTF-8 - UTF-8 - - - - attach-javadocs - - jar - - - - - org.apache.maven.plugins @@ -158,97 +120,33 @@ ${env.GPG_PASSPHRASE} - - false + + gpg + + true + + + --pinentry-mode + loopback + - + - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 + org.sonatype.central + central-publishing-maven-plugin + 0.9.0 true - ossrh - https://oss.sonatype.org/ - true + central + + true - - - - org.apache.maven.plugins - maven-release-plugin - 3.0.1 - - v@{project.version} - true - false - release - deploy - - - - - - - - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - @@ -301,5 +199,4 @@ - diff --git a/src/main/java/vip/jcfd/sdk/HGScannerLib.java b/src/main/java/vip/jcfd/sdk/HGScannerLib.java index be64b68..fa7ce98 100644 --- a/src/main/java/vip/jcfd/sdk/HGScannerLib.java +++ b/src/main/java/vip/jcfd/sdk/HGScannerLib.java @@ -347,8 +347,6 @@ public interface HGScannerLib extends HGDef, StdCallLibrary { /** * 获取扫描仪库实例 - * - * @return 扫描仪库实例 */ HGScannerLib INSTANCE = Native.load(JNA_LIBRARY_NAME, HGScannerLib.class); }