Skip to content

Commit a23163d

Browse files
authored
chore: upgraded dependencies and added native a build config file for test (#32)
1 parent 907a104 commit a23163d

File tree

2 files changed

+45
-15
lines changed

2 files changed

+45
-15
lines changed

pom.xml

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<packaging>jar</packaging>
1111

1212
<name>sabi</name>
13-
<description>A small framework to separate logics and data accesses for Java application.</description>
13+
<description>A small framework to separate logics and data accesses for Java application</description>
1414
<url>https://github.com/sttk/sabi-java</url>
1515

1616
<licenses>
@@ -32,7 +32,7 @@
3232
<scm>
3333
<url>https://github.com/sttk/sabi-java</url>
3434
<connection>scm:git:git://github.com/sttk/sabi-java.git</connection>
35-
<developerConnection>scm:git:git//github.com/sttk/sabi-java.git</developerConnection>
35+
<developerConnection>scm:git:git://github.com/sttk/sabi-java.git</developerConnection>
3636
</scm>
3737

3838
<properties>
@@ -56,19 +56,19 @@
5656
<dependency>
5757
<groupId>org.junit.jupiter</groupId>
5858
<artifactId>junit-jupiter</artifactId>
59-
<version>5.11.4</version>
59+
<version>6.0.0-M1</version>
6060
<scope>test</scope>
6161
</dependency>
6262
<dependency>
6363
<groupId>org.junit.platform</groupId>
6464
<artifactId>junit-platform-launcher</artifactId>
65-
<version>1.11.4</version>
65+
<version>6.0.0-M1</version>
6666
<scope>test</scope>
6767
</dependency>
6868
<dependency>
6969
<groupId>org.assertj</groupId>
7070
<artifactId>assertj-core</artifactId>
71-
<version>3.27.2</version>
71+
<version>4.0.0-M1</version>
7272
<scope>test</scope>
7373
</dependency>
7474
</dependencies>
@@ -78,7 +78,7 @@
7878
<plugin>
7979
<groupId>org.apache.maven.plugins</groupId>
8080
<artifactId>maven-source-plugin</artifactId>
81-
<version>3.3.0</version>
81+
<version>3.3.1</version>
8282
<executions>
8383
<execution>
8484
<id>attach-sources</id>
@@ -94,13 +94,13 @@
9494
<version>3.11.2</version>
9595
<configuration>
9696
<author>true</author>
97-
<source>21</source>
97+
<source>23</source>
9898
<show>protected</show>
9999
<encoding>UTF-8</encoding>
100100
<charset>UTF-8</charset>
101101
<docencoding>UTF-8</docencoding>
102102
<bottom><![CDATA[Copyright 2022-2025 Takayuki Sato. All Rights Reserved.]]></bottom>
103-
<outputDirectory>${project.build.directory}/site</outputDirectory>
103+
<outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
104104
</configuration>
105105
<executions>
106106
<execution>
@@ -120,7 +120,7 @@
120120
<plugin>
121121
<groupId>org.jacoco</groupId>
122122
<artifactId>jacoco-maven-plugin</artifactId>
123-
<version>0.8.12</version>
123+
<version>0.8.13</version>
124124
<executions>
125125
<execution>
126126
<id>default-prepare-agent</id>
@@ -140,7 +140,7 @@
140140
<plugin>
141141
<groupId>org.apache.maven.plugins</groupId>
142142
<artifactId>maven-compiler-plugin</artifactId>
143-
<version>3.13.0</version>
143+
<version>3.14.0</version>
144144
<configuration>
145145
<compilerArgs>
146146
<arg>-g</arg>
@@ -151,7 +151,7 @@
151151
<plugin>
152152
<groupId>org.apache.maven.plugins</groupId>
153153
<artifactId>maven-surefire-plugin</artifactId>
154-
<version>3.5.2</version>
154+
<version>3.5.3</version>
155155
</plugin>
156156
</plugins>
157157
</build>
@@ -164,7 +164,7 @@
164164
<plugin>
165165
<groupId>org.graalvm.buildtools</groupId>
166166
<artifactId>native-maven-plugin</artifactId>
167-
<version>0.10.4</version>
167+
<version>0.10.6</version>
168168
<extensions>true</extensions>
169169
<executions>
170170
<execution>
@@ -173,6 +173,16 @@
173173
<goal>test</goal>
174174
</goals>
175175
<phase>test</phase>
176+
<configuration>
177+
<dependencies>
178+
<dependency>
179+
<groupId>org.junit.platform</groupId>
180+
<artifactId>junit-platform-launcher</artifactId>
181+
<version>1.9.1</version>
182+
<scope>test</scope>
183+
</dependency>
184+
</dependencies>
185+
</configuration>
176186
</execution>
177187
</executions>
178188
<configuration>
@@ -189,7 +199,7 @@
189199
<profile>
190200
<id>trace</id>
191201
<properties>
192-
<argLine>-agentlib:native-image-agent=config-output-dir=target/native-trace/</argLine>
202+
<argLine>-agentlib:native-image-agent=config-output-dir=target/native-trace</argLine>
193203
</properties>
194204
</profile>
195205
<profile>
@@ -198,7 +208,7 @@
198208
<repository>
199209
<id>github</id>
200210
<name>GitHub Packages</name>
201-
<url>https://maven.pkg.github.com/sttk/cliargs-java</url>
211+
<url>https://maven.pkg.github.com/sttk/sabi-java</url>
202212
</repository>
203213
</distributionManagement>
204214
</profile>
@@ -240,7 +250,7 @@
240250
<plugin>
241251
<groupId>org.apache.maven.plugins</groupId>
242252
<artifactId>maven-gpg-plugin</artifactId>
243-
<version>3.2.7</version>
253+
<version>3.2.8</version>
244254
<executions>
245255
<execution>
246256
<id>sign-artifacts</id>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Args = --initialize-at-build-time=\
2+
org.junit.jupiter.api.DisplayNameGenerator\$IndicativeSentences,\
3+
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$ClassInfo,\
4+
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$LifecycleMethods,\
5+
org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor,\
6+
org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor,\
7+
org.junit.jupiter.engine.descriptor.DynamicDescendantFilter\$Mode,\
8+
org.junit.jupiter.engine.descriptor.ExclusiveResourceCollector\$1,\
9+
org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor\$MethodInfo,\
10+
org.junit.jupiter.engine.discovery.ClassSelectorResolver\$DummyClassTemplateInvocationContext,\
11+
org.junit.platform.engine.support.store.NamespacedHierarchicalStore\$EvaluatedValue,\
12+
org.junit.platform.launcher.core.DiscoveryIssueNotifier,\
13+
org.junit.platform.launcher.core.HierarchicalOutputDirectoryProvider,\
14+
org.junit.platform.launcher.core.LauncherDiscoveryResult\$EngineResultInfo,\
15+
org.junit.platform.launcher.core.LauncherPhase,\
16+
org.junit.platform.suite.engine.DiscoverySelectorResolver,\
17+
org.junit.platform.suite.engine.SuiteTestDescriptor\$DiscoveryIssueForwardingListener,\
18+
org.junit.platform.suite.engine.SuiteTestDescriptor\$LifecycleMethods,\
19+
org.junit.platform.commons.util.KotlinReflectionUtils,\
20+
org.junit.platform.launcher.core.DiscoveryIssueNotifier\$1

0 commit comments

Comments
 (0)