Skip to content

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.6 to 3.6.0 - #1745

Merged
schulzjo-tng merged 2 commits into
mainfrom
dependabot/gradle/non-major-af07f99f71
Oct 9, 2026
Merged

schulzjo-tng merged 2 commits into
mainfrom
dependabot/gradle/non-major-af07f99f71

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the non-major group with 1 update in the / directory: org.apache.maven.plugins:maven-surefire-plugin.

Updates org.apache.maven.plugins:maven-surefire-plugin from 3.5.6 to 3.6.0

Release notes

Sourced from org.apache.maven.plugins:maven-surefire-plugin's releases.

3.6.0

Please refer to the main page for what's new https://maven.apache.org/surefire/ And the migration page https://maven.apache.org/surefire/maven-surefire-plugin/whats-new-3-6-0.html

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

👻 Maintenance

... (truncated)

Commits
  • 0ff622b [maven-release-plugin] prepare release surefire-3.6.0
  • bb3932a Let's go for 3.6.0 release
  • 3002a16 Bump mavenVersion from 3.9.14 to 3.9.16
  • 61a531d Bump Maven parent version from 47 to 49 (#3449)
  • e52ead4 [SUREFIRE-523] Link all reported tests to source XRef (#3445)
  • 45102fa [SUREFIRE-3446] Fix direct selection of JUnit Jupiter @​Nested classes (#3447)
  • b2e1f70 Fix #3303: distinguish JUnit 6 ParameterizedClass invocations (#3432)
  • c051938 Discover tests in a fork when a toolchain JDK is used (#3444)
  • db75df8 Bump org.codehaus.plexus:plexus-java from 1.5.2 to 1.6.0 (#3441)
  • 77f2759 Bump org.codehaus.plexus:plexus-interpolation from 1.29 to 1.30.0
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Oct 5, 2026
@hankem

hankem commented Oct 5, 2026

Copy link
Copy Markdown
Member

see #1714 (comment):

The Maven Surefire Plugin 3.6.0 reports other results for some of the (nested) archunit-maven-tests run with JUnit 5 or 6 than the previous version 3.5.6:

  • CodingRulesTest.xml
- 3.5.6: <testcase name="no_access_to_standard_streams_as_method" classname="CodingRulesTest">
+ 3.6.0: <testcase name="no_access_to_standard_streams_as_method" classname="com.tngtech.archunit.exampletest.junit5.CodingRulesTest">

(The difference between simple and fully qualified class name is already ignored since 1e201ea.)

  • RuleSetsTest.xml
- 3.5.6: <testcase name="CodingRulesTest &gt; no_access_to_standard_streams_as_method" classname="RuleSetsTest">
+ 3.6.0: <testcase name="CodingRulesTest &gt; no_access_to_standard_streams_as_method" classname="com.tngtech.archunit.exampletest.junit5.CodingRulesTest">
  • RuleLibraryTest.xml
 - 3.5.6: <testcase name="RuleSetsTest &gt; CodingRulesTest &gt; no_access_to_standard_streams_as_method" classname="RuleLibraryTest">
 + 3.6.0: <testcase name="RuleSetsTest &gt; CodingRulesTest &gt; no_access_to_standard_streams_as_method" classname="com.tngtech.archunit.exampletest.junit5.CodingRulesTest">
 [...]
- 3.5.6: <testcase name="CodingRulesTest &gt; no_access_to_standard_streams_as_method" classname="RuleLibraryTest">
+ 3.6.0: <testcase name="CodingRulesTest &gt; no_access_to_standard_streams_as_method" classname="com.tngtech.archunit.exampletest.junit5.CodingRulesTest">

The different classnames fail TestResultTest:

failedArchitectureTests not found:
  [SingleTest{owner='RuleSetsTest', testName='CodingRulesTest > no_access_to_standard_streams_as_method'},
   SingleTest{owner='RuleLibraryTest', testName='RuleSetsTest > CodingRulesTest > no_access_to_standard_streams_as_method'},
   SingleTest{owner='RuleLibraryTest', testName='CodingRulesTest > no_access_to_standard_streams_as_method'}]
failedArchitectureTests not expected:
  [SingleTest{owner='CodingRulesTest', testName='CodingRulesTest > no_access_to_standard_streams_as_method'},
   SingleTest{owner='CodingRulesTest', testName='RuleSetsTest > CodingRulesTest > no_access_to_standard_streams_as_method'}]

@schulzjo-tng

schulzjo-tng commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

The config may still need some fine-tuning. I don't know why it closed #1743.

Edit: It probably got confused by #1742 being merged in the meantime. Let's observe whether this issue returns.

@dependabot
dependabot Bot force-pushed the dependabot/gradle/non-major-af07f99f71 branch 2 times, most recently from cd35d65 to 620277d Compare October 8, 2026 08:25
@schulzjo-tng schulzjo-tng self-assigned this Oct 9, 2026
@hankem hankem changed the title Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.6 to 3.6.0 in the non-major group across 1 directory Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.6 to 3.6.0 Oct 9, 2026
dependabot Bot and others added 2 commits October 9, 2026 13:48
Bumps the non-major group with 1 update in the / directory: [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire).


Updates `org.apache.maven.plugins:maven-surefire-plugin` from 3.5.6 to 3.6.0
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](apache/maven-surefire@surefire-3.5.6...surefire-3.6.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-version: 3.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-major
...

Signed-off-by: dependabot[bot] <support@github.com>
The behavior of `<testcase classname="...">` has changed from surefire-maven-plugin v3.5.4 to v3.6.0 and is now inconsistent.
We now obtain the class name from the parent `<testsuite name="...">` instead.

Signed-off-by: Dr. Jonathan Schulz <jonathan.schulz@tngtech.com>
@schulzjo-tng
schulzjo-tng force-pushed the dependabot/gradle/non-major-af07f99f71 branch from 34bb22e to 152b8be Compare October 9, 2026 11:48
@schulzjo-tng
schulzjo-tng enabled auto-merge October 9, 2026 11:49
@schulzjo-tng
schulzjo-tng merged commit 8297208 into main Oct 9, 2026
32 checks passed
@schulzjo-tng
schulzjo-tng deleted the dependabot/gradle/non-major-af07f99f71 branch October 9, 2026 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants