From ca425d4712e99ecc9c2da1a14c4b0de18d1053d3 Mon Sep 17 00:00:00 2001 From: Mercy Ma Date: Wed, 9 Jul 2025 16:28:07 +0800 Subject: [PATCH 1/6] Update FileUtilsTest.java --- .../src/test/java/io/microsphere/io/FileUtilsTest.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/FileUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/FileUtilsTest.java index dd3553c3e..46ec34f8d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/FileUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/FileUtilsTest.java @@ -302,17 +302,14 @@ void testIsSymlink() throws IOException { } @Test - void testIsSymlinkOnNull() throws IOException { + void testIsSymlinkOnNull() { assertThrows(NullPointerException.class, () -> isSymlink(null)); } @Test - void testGetCanonicalFile() throws IOException { + void testGetCanonicalFile() { File tempFile = newRandomTempFile(); - assertEquals(tempFile, getCanonicalFile(tempFile)); - - tempFile = createRandomTempFile(); - assertEquals(tempFile, getCanonicalFile(tempFile)); + assertEquals(getCanonicalFile(tempFile), getCanonicalFile(getCanonicalFile(tempFile))); } } \ No newline at end of file From a7fb17eed48555b7b7259517efa570422f6d15e2 Mon Sep 17 00:00:00 2001 From: Mercy Ma Date: Wed, 9 Jul 2025 16:59:23 +0800 Subject: [PATCH 2/6] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7a48ca43d..4ea084eb7 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.microsphere-projects microsphere-build - 0.1.0 + 0.1.2-dev io.github.microsphere-projects From b38fec2750e68ce46da0c0c5f8f1fba0a9907c82 Mon Sep 17 00:00:00 2001 From: Mercy Ma Date: Wed, 9 Jul 2025 18:36:23 +0800 Subject: [PATCH 3/6] Update pom.xml --- pom.xml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/pom.xml b/pom.xml index 4ea084eb7..e651b1898 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.microsphere-projects microsphere-build - 0.1.2-dev + 0.1.3-dev io.github.microsphere-projects @@ -61,29 +61,4 @@ microsphere-java-core - - - nexus - nexus-snapshot - https://central.sonatype.com/repository/maven-snapshots/ - - true - - - false - - - - - - - ossrh - https://central.sonatype.com/repository/maven-snapshots/ - - - ossrh - https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/ - - - \ No newline at end of file From b64e20f9e6c7cb784317adec7af908657faba382 Mon Sep 17 00:00:00 2001 From: Mercy Ma Date: Wed, 9 Jul 2025 19:24:31 +0800 Subject: [PATCH 4/6] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e651b1898..998e4673e 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.microsphere-projects microsphere-build - 0.1.3-dev + 0.1.3 io.github.microsphere-projects From 7d427705a56c891914711e3663437f50ca25a1b3 Mon Sep 17 00:00:00 2001 From: Mercy Ma Date: Wed, 9 Jul 2025 19:38:02 +0800 Subject: [PATCH 5/6] Update maven-publish.yml --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 071bc4b4c..989ffc352 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -44,7 +44,7 @@ jobs: -Drevision=${{ inputs.revision }} -Dgpg.skip=true deploy - --activate-profiles release,ci + --activate-profiles publish,ci env: MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }} From 08181b56bb896dd5226b1f104cd0bc7032b991b7 Mon Sep 17 00:00:00 2001 From: Mercy Ma Date: Wed, 9 Jul 2025 19:38:06 +0800 Subject: [PATCH 6/6] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 998e4673e..2b2e1d29a 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.microsphere-projects microsphere-build - 0.1.3 + 0.2.0 io.github.microsphere-projects