From d1d4ae78331432417e3ab7a884b0527c54bba7dd Mon Sep 17 00:00:00 2001 From: 2021111502 <3509461348@qq.com> Date: Sun, 3 Dec 2023 22:55:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=8D=E6=AC=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 562 +++++++++--------- .../ReFreSH/JMobileSuit/Demo/ClientTest.java | 4 +- 2 files changed, 283 insertions(+), 283 deletions(-) diff --git a/pom.xml b/pom.xml index abf5e5a..28f46a0 100644 --- a/pom.xml +++ b/pom.xml @@ -106,170 +106,72 @@ 21 - - Package - - - - org.apache.maven.plugins - maven-resources-plugin - - UTF-8 - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.0 - - ${java.version} - ${project.build.sourceEncoding} - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.0.0 - - UTF-8 - UTF-8 - UTF-8 - en_US - ${project.basedir}/docs/lib/docfx-doclet-1.9.0-jar-with-dependencies.jar - - com.microsoft.doclet.DocFxDoclet - false - - -outputpath ${project.basedir}/docs/api -projectname ReFreSH.JMobileSuit - - docs/api - - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - - jar - - - - - - - - - - - src/main/resources - true - - **/*.properties - **/*.xml - - - - - - - - - release - - - - org.apache.maven.plugins - maven-resources-plugin - 3.3.1 - - UTF-8 - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - true - - nexus-releases - https://s01.oss.sonatype.org/ - true - - - - - org.apache.maven.plugins - maven-gpg-plugin - 3.1.0 - - - verify - - sign - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - package - - jar-no-fork - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.6.2 - - false - none - - - - package - - jar - - - - - - - org.apache.maven.plugins - maven-release-plugin - 3.0.1 + ${project.organization.name}.${project.name}.${project.version} + Package + + + + org.apache.maven.plugins + maven-resources-plugin + + UTF-8 + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + ${java.version} + ${project.build.sourceEncoding} + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.0.0 + + UTF-8 + UTF-8 + UTF-8 + en_US + ${project.basedir}/docs/lib/docfx-doclet-1.9.0-jar-with-dependencies.jar + + com.microsoft.doclet.DocFxDoclet + false + + -outputpath ${project.basedir}/docs/api -projectname ReFreSH.JMobileSuit + + docs/api + + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + - - v@{project.version} - true - - - - + + src/main/resources @@ -280,138 +182,238 @@ - - - - - nexus-snapshots - https://s01.oss.sonatype.org/content/repositories/snapshots/ - - - nexus-releases - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - - - github - - - - - org.apache.maven.plugins - maven-resources-plugin - 3.3.1 - - UTF-8 - - + + + release + + + + + org.apache.maven.plugins + maven-resources-plugin + 3.3.1 + + UTF-8 + + - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - true - - nexus-releases - https://s01.oss.sonatype.org/ - true - - + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + nexus-releases + https://s01.oss.sonatype.org/ + true + + - - - org.apache.maven.plugins - maven-gpg-plugin - 3.1.0 - - - verify - - sign - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - package - - jar-no-fork - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.6.2 - - false - none - - - - package - - jar - - - - - - - org.apache.maven.plugins - maven-release-plugin - 3.0.1 + + + org.apache.maven.plugins + maven-gpg-plugin + 3.1.0 + + + verify + + sign + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + package + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.6.2 + + false + none + + + + package + + jar + + + + + + + org.apache.maven.plugins + maven-release-plugin + 3.0.1 - - v@{project.version} - true - - + + v@{project.version} + true + + - - - - src/main/resources - true - - **/*.properties - **/*.xml - - - + + + + src/main/resources + true + + **/*.properties + **/*.xml + + + - + + + + nexus-snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots/ + + + nexus-releases + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + + - - + + + github - GitHub HIT-ReFreSH Apache Maven Packages - https://maven.pkg.github.com/HIT-ReFreSH/JMobileSuit - - + + + + + org.apache.maven.plugins + maven-resources-plugin + 3.3.1 + + UTF-8 + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + nexus-releases + https://s01.oss.sonatype.org/ + true + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.1.0 + + + verify + + sign + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + package + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.6.2 + + false + none + + + + package + + jar + + + + + + + org.apache.maven.plugins + maven-release-plugin + 3.0.1 + + + v@{project.version} + true + + + + + + + + src/main/resources + true + + **/*.properties + **/*.xml + + + + + + + + + + github + GitHub HIT-ReFreSH Apache Maven Packages + https://maven.pkg.github.com/HIT-ReFreSH/JMobileSuit + + - - - -https://github.com/HIT-ReFreSH/JMobileSuit -scm:git:https://github.com/HIT-ReFreSH/JMobileSuit.git -scm:git:https://github.com/HIT-ReFreSH/JMobileSuit.git -${project.version} - + + + + https://github.com/HIT-ReFreSH/JMobileSuit + scm:git:https://github.com/HIT-ReFreSH/JMobileSuit.git + scm:git:https://github.com/HIT-ReFreSH/JMobileSuit.git + ${project.version} + - + \ No newline at end of file diff --git a/src/test/java/ReFreSH/JMobileSuit/Demo/ClientTest.java b/src/test/java/ReFreSH/JMobileSuit/Demo/ClientTest.java index 1e2928c..72aec08 100644 --- a/src/test/java/ReFreSH/JMobileSuit/Demo/ClientTest.java +++ b/src/test/java/ReFreSH/JMobileSuit/Demo/ClientTest.java @@ -105,9 +105,7 @@ public void testParse() { String[] options3 = {"Alice", "Bob"}; assertTrue(param.parse(options2)); assertFalse(param.parse(options3)); - //TODO - //test fail,Although the options.length!=1,the param.name also changes - //assertEquals(param.name,"Alice"); + assertEquals(param.name,""); } }