From 546d7dd0f084acf6b3192f77cafc8cf1af8d48c3 Mon Sep 17 00:00:00 2001
From: ZhanG <1054468404@qq.com>
Date: Thu, 17 Oct 2024 09:34:45 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BD=BB=E9=87=8F=E5=8C=96SDK?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 155 +++++++++++++++---
properties/assembly-release.xml | 2 +
src/main/java/packet/Nack.java | 1 -
.../identity/IdentityBenchmark.java | 1 -
4 files changed, 132 insertions(+), 27 deletions(-)
diff --git a/pom.xml b/pom.xml
index 39b4794..2101882 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,43 +51,88 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
org.apache.maven.plugins
- maven-assembly-plugin
+ maven-shade-plugin
3.3.0
-
-
-
-
-
-
-
- properties/assembly-release.xml
-
-
-
-
- min.Main
-
-
- lib/*.jar
-
-
-
- make-assembly
-
+
package
- single
+
+ shade
+
+
+
+
+ META-INF/spring.handlers
+
+
+
+ META-INF/spring.schemas
+
+
+
+ META-INF/spring.factories
+
+
+
+
+ true
+
+
+ org.bouncycastle:bcpkix-jdk15on
+
+ **
+
+
+
+
-
@@ -187,6 +232,12 @@
junit
4.12
test
+
+
+ hamcrest-core
+ org.hamcrest
+
+
@@ -194,6 +245,16 @@
junit-jupiter-api
5.6.0
test
+
+
+ apiguardian-api
+ org.apiguardian
+
+
+ junit-platform-commons
+ org.junit.platform
+
+
@@ -272,6 +333,12 @@
org.openjdk.jmh
jmh-core
1.23
+
+
+ jopt-simple
+ net.sf.jopt-simple
+
+
org.openjdk.jmh
@@ -286,6 +353,44 @@
com.github.jnr
jnr-unixsocket
0.18
+
+
+ jffi
+ com.github.jnr
+
+
+ jnr-posix
+ com.github.jnr
+
+
+ jnr-x86asm
+ com.github.jnr
+
+
+ asm
+ org.ow2.asm
+
+
+ asm-tree
+ org.ow2.asm
+
+
+ asm-commons
+ org.ow2.asm
+
+
+ asm-util
+ org.ow2.asm
+
+
+ asm-analysis
+ org.ow2.asm
+
+
+ jnr-constants
+ com.github.jnr
+
+
diff --git a/properties/assembly-release.xml b/properties/assembly-release.xml
index af0cfc5..de5aec1 100644
--- a/properties/assembly-release.xml
+++ b/properties/assembly-release.xml
@@ -70,6 +70,8 @@
org.jetbrains.kotlin:kotlin-stdlib
org.jetbrains.kotlin:kotlin-stdlib-common
org.jetbrains:annotations
+ org.junit.jupiter:junit-jupiter-api
+ com.some.library:unused-library
diff --git a/src/main/java/packet/Nack.java b/src/main/java/packet/Nack.java
index 92c4b00..3322785 100644
--- a/src/main/java/packet/Nack.java
+++ b/src/main/java/packet/Nack.java
@@ -4,7 +4,6 @@ import component.ComponentException;
import encoding.Block;
import encoding.Encoder;
import encoding.IEncodingAble;
-import jnr.ffi.annotations.In;
/*
* @Author: Wang Feng
diff --git a/src/test/java/minsecurity/identity/IdentityBenchmark.java b/src/test/java/minsecurity/identity/IdentityBenchmark.java
index 099cc89..35d71e6 100644
--- a/src/test/java/minsecurity/identity/IdentityBenchmark.java
+++ b/src/test/java/minsecurity/identity/IdentityBenchmark.java
@@ -1,6 +1,5 @@
package minsecurity.identity;
-import com.fasterxml.jackson.core.JsonProcessingException;
import minsecurity.Common;
import minsecurity.certificate.cert.CertException;
import minsecurity.certificate.cert.CertUtils;