from mobile (sorry for typos ;)

On Tue, Sep 8, 2026, 01:14 Václav Haisman <[email protected]> wrote:

> On 9/7/26 03:43, Maxim Solodovnik wrote:
> > Hello All,
> >
> > It seems we got some weird behavior after this update :(
> > Our build failing after `maven-surefire-plugin` update to version 3.6.0:
> > https://github.com/wicketstuff/core/pull/1545
> >
> > particularly module without tests failing with following log:
> >
> > running with `mvn clean test -DfailIfNoTests=false` (which should be
> > default behavior) doesn't help
> > Is it intended?
> > Are there any workarounds? :))
> >
> > [INFO] -------------------------------------------------------
> > [INFO]  T E S T S
> > [INFO] -------------------------------------------------------
> > [ERROR] TestEngine with ID 'junit-vintage' failed to discover tests
>
> What is your junit:junit version in the project's dependencies? Try
> managing the version of junit:junit to the 4.13.2.
>

Junit version is 6.1.3
https://github.com/wicketstuff/core/blob/master/pom.xml#L353


> > [INFO]
> > [INFO] Results:
> > [INFO]
> > [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> > [INFO]
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Total time:  4.005 s
> > [INFO] Finished at: 2026-09-07T08:32:24+07:00
> > [INFO]
> ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:3.6.0:test
> > (default-test) on project wicketstuff-serializer-fast2:
> > [ERROR]
> > [ERROR] See
> /home/solomax/work/wicketstuff/serializer-fast2/target/surefire-reports
> > for the individual test results.
> > [ERROR] See dump files (if any exist) [date].dump,
> > [date]-jvmRun[N].dump and [date].dumpstream.
> > [ERROR] There was an error in the forked process
> > [ERROR] TestEngine with ID 'junit-vintage' failed to discover tests
> > [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException:
> > There was an error in the forked process
> > [ERROR] TestEngine with ID 'junit-vintage' failed to discover tests
> > [ERROR]         at
> >
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:708)
> > [ERROR]         at
> >
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:523)
> > [ERROR]         at
> >
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:323)
> > [ERROR]         at
> >
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:287)
> > [ERROR]         at
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1474)
> > [ERROR]         at
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1246)
> > [ERROR]         at
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:1082)
> > [ERROR]         at
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
> > [ERROR]         at
> >
> org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
> > [ERROR]         at
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
> > [ERROR]         at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
> > [ERROR]         at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
> > [ERROR]         at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
> > [ERROR]         at
> org.apache.maven.cli.MavenCli.execute(MavenCli.java:919)
> > [ERROR]         at
> org.apache.maven.cli.MavenCli.doMain(MavenCli.java:285)
> > [ERROR]         at org.apache.maven.cli.MavenCli.main(MavenCli.java:207)
> > [ERROR]         at
> >
> java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> > [ERROR]         at
> java.base/java.lang.reflect.Method.invoke(Method.java:580)
> > [ERROR]         at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
> > [ERROR]         at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
> > [ERROR]         at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:362)
> > [ERROR]         at
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
> >
> > On Fri, 4 Sept 2026 at 06:18, Olivier Lamy <[email protected]> wrote:
> >>
> >> Hi,
> >> The Apache Maven team is pleased to announce the release of Apache
> >> Maven Surefire 3.6.0.
> >> Please note this release is introducing a couple of breaking changes,
> >> please refer to
> >> https://maven.apache.org/surefire/surefire/
> >> and
> >>
> https://maven.apache.org/surefire/maven-surefire-plugin/whats-new-3-6-0.html
> >>
> >> Release Notes - Apache Maven Surefire 3.6.0:
> >> https://github.com/apache/maven-surefire/releases/tag/surefire-3.6.0
> >>
> >> Enjoy,
> >> -The Apache Maven team
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >
> >
>
>
> --
> VH
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to