diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-26 23:01:48 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-26 23:01:48 +0200 |
| commit | 446ffe65c7a77a606f700510814742be38f547f3 (patch) | |
| tree | e6ff712b20ebcd32e1574f42bd9cd3f6be03db16 | |
| parent | 0149274e22cac8d49953082337f4ffbe01537b4b (diff) | |
Fix Java 26 Mockito test runtime for bc61c489-f41b-473b-8c9b-91959ad958f7
| -rw-r--r-- | pom.xml | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -20,6 +20,7 @@ <mockito.version>5.3.1</mockito.version> <slf4j.version>2.0.7</slf4j.version> <logback.version>1.4.7</logback.version> + <surefire.argLine>-Dnet.bytebuddy.experimental=true</surefire.argLine> </properties> <build> @@ -82,6 +83,7 @@ <artifactId>maven-surefire-plugin</artifactId> <version>3.1.2</version> <configuration> + <argLine>${surefire.argLine}</argLine> <includes> <!-- Only include tests that work in headless mode --> <include>**/core/*Test.java</include> @@ -188,6 +190,7 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> + <argLine>${surefire.argLine}</argLine> <includes> <include>**/core/*Test.java</include> <include>**/events/*Test.java</include> |
