From 8c5bb61a0f1e69c04b917d3c745614f2972cba6e Mon Sep 17 00:00:00 2001 From: sttk Date: Sun, 13 Jul 2025 17:26:39 +0900 Subject: [PATCH] chore: upgraded dependencies and added native a build config file for test --- pom.xml | 40 ++++++++++++------- .../native-image/native-image.properties | 20 ++++++++++ 2 files changed, 45 insertions(+), 15 deletions(-) create mode 100644 src/test/resources/META-INF/native-image/native-image.properties diff --git a/pom.xml b/pom.xml index 5f8b3e1..51d1453 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ jar sabi - A small framework to separate logics and data accesses for Java application. + A small framework to separate logics and data accesses for Java application https://github.com/sttk/sabi-java @@ -32,7 +32,7 @@ https://github.com/sttk/sabi-java scm:git:git://github.com/sttk/sabi-java.git - scm:git:git//github.com/sttk/sabi-java.git + scm:git:git://github.com/sttk/sabi-java.git @@ -56,19 +56,19 @@ org.junit.jupiter junit-jupiter - 5.11.4 + 6.0.0-M1 test org.junit.platform junit-platform-launcher - 1.11.4 + 6.0.0-M1 test org.assertj assertj-core - 3.27.2 + 4.0.0-M1 test @@ -78,7 +78,7 @@ org.apache.maven.plugins maven-source-plugin - 3.3.0 + 3.3.1 attach-sources @@ -94,13 +94,13 @@ 3.11.2 true - 21 + 23 protected UTF-8 UTF-8 UTF-8 - ${project.build.directory}/site + ${project.reporting.outputDirectory} @@ -120,7 +120,7 @@ org.jacoco jacoco-maven-plugin - 0.8.12 + 0.8.13 default-prepare-agent @@ -140,7 +140,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.13.0 + 3.14.0 -g @@ -151,7 +151,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.5.2 + 3.5.3 @@ -164,7 +164,7 @@ org.graalvm.buildtools native-maven-plugin - 0.10.4 + 0.10.6 true @@ -173,6 +173,16 @@ test test + + + + org.junit.platform + junit-platform-launcher + 1.9.1 + test + + + @@ -189,7 +199,7 @@ trace - -agentlib:native-image-agent=config-output-dir=target/native-trace/ + -agentlib:native-image-agent=config-output-dir=target/native-trace @@ -198,7 +208,7 @@ github GitHub Packages - https://maven.pkg.github.com/sttk/cliargs-java + https://maven.pkg.github.com/sttk/sabi-java @@ -240,7 +250,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.2.7 + 3.2.8 sign-artifacts diff --git a/src/test/resources/META-INF/native-image/native-image.properties b/src/test/resources/META-INF/native-image/native-image.properties new file mode 100644 index 0000000..bfd2b8e --- /dev/null +++ b/src/test/resources/META-INF/native-image/native-image.properties @@ -0,0 +1,20 @@ +Args = --initialize-at-build-time=\ + org.junit.jupiter.api.DisplayNameGenerator\$IndicativeSentences,\ + org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$ClassInfo,\ + org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$LifecycleMethods,\ + org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor,\ + org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor,\ + org.junit.jupiter.engine.descriptor.DynamicDescendantFilter\$Mode,\ + org.junit.jupiter.engine.descriptor.ExclusiveResourceCollector\$1,\ + org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor\$MethodInfo,\ + org.junit.jupiter.engine.discovery.ClassSelectorResolver\$DummyClassTemplateInvocationContext,\ + org.junit.platform.engine.support.store.NamespacedHierarchicalStore\$EvaluatedValue,\ + org.junit.platform.launcher.core.DiscoveryIssueNotifier,\ + org.junit.platform.launcher.core.HierarchicalOutputDirectoryProvider,\ + org.junit.platform.launcher.core.LauncherDiscoveryResult\$EngineResultInfo,\ + org.junit.platform.launcher.core.LauncherPhase,\ + org.junit.platform.suite.engine.DiscoverySelectorResolver,\ + org.junit.platform.suite.engine.SuiteTestDescriptor\$DiscoveryIssueForwardingListener,\ + org.junit.platform.suite.engine.SuiteTestDescriptor\$LifecycleMethods,\ + org.junit.platform.commons.util.KotlinReflectionUtils,\ + org.junit.platform.launcher.core.DiscoveryIssueNotifier\$1 \ No newline at end of file