> On 9 Sep 2026, at 02:23, Maxim Solodovnik <[email protected]> wrote: > > Hello Václav, > > from mobile (sorry for typos ;) > > > On Wed, Sep 9, 2026, 03:39 Václav Haisman <[email protected] > <mailto:[email protected]>> wrote: > >> On 9/8/26 02:24, Maxim Solodovnik wrote: >>> 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 >> >> That's why I specified to check junit:junit explicitly. It compiles with >> this change: >> > > This is surprising > We have no modules uses junit:4 > > Could you please clarify this helps? > I'm trying to keep pom.xml clean :) > > And previous surefire version works without such hack ….
You do… as transitive compile-scoped dependencies mvn dependency:tree -Dincludes=junit:junit yields 2 projects transitively depending with compile-scope on junit: [INFO] --- dependency:3.7.0:tree (default-cli) @ wicketstuff-serializer-fast2 --- [INFO] org.wicketstuff:wicketstuff-serializer-fast2:jar:10.12.0-SNAPSHOT [INFO] \- de.ruedigermoeller:fst:jar:3.0.4-jdk17:compile [INFO] \- org.apache.felix:maven-bundle-plugin:maven-plugin:5.1.5:compile [INFO] \- org.apache.maven.doxia:doxia-site-renderer:jar:1.0:compile [INFO] \- org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-30:compile [INFO] \- junit:junit:jar:3.8.1:compile … [INFO] --- dependency:3.7.0:tree (default-cli) @ wicketstuff-serializer-ui --- [INFO] org.wicketstuff:wicketstuff-serializer-ui:jar:10.12.0-SNAPSHOT [INFO] \- org.wicketstuff:wicketstuff-serializer-fast2:jar:10.12.0-SNAPSHOT:compile [INFO] \- de.ruedigermoeller:fst:jar:3.0.4-jdk17:compile [INFO] \- org.apache.felix:maven-bundle-plugin:maven-plugin:5.1.5:compile [INFO] \- org.apache.maven.doxia:doxia-site-renderer:jar:1.0:compile [INFO] \- org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-30:compile [INFO] \- junit:junit:jar:3.8.1:compile [
