Skip to content

Fix build: remove duplicate JUnit deps, use released parent - #43

Merged
dfuchss merged 3 commits into
mainfrom
fix/build
Oct 16, 2026
Merged

dfuchss merged 3 commits into
mainfrom
fix/build

Conversation

@dfuchss

@dfuchss dfuchss commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Main is red since this morning: Maven now rejects the duplicate junit-jupiter-api/-engine/-params declarations in pom.xml ('dependencies.dependency...' must be unique). This affects both CI Build and Docker Push.

  • Remove the versionless JUnit declarations. Keep the explicit ${junit.version} block, which aligns Jupiter with the JUnit Platform version Spring Boot manages (6.0.3). Without it, the parent's 6.1.3 Jupiter mixes with Platform 6.0.3 and every test fails with IllegalAccessError.
  • Switch the parent from 2.1.0-SNAPSHOT to the released 2.1.0. The snapshot dates from before the release and is stale. It also isn't on Maven Central, which breaks Dependabot's Maven wrapper updates (Dependency(deps): Bump org.apache.maven.wrapper:maven-wrapper from 3.3.2 to 3.3.4 #39).

@dfuchss
dfuchss requested a review from a team as a code owner October 16, 2026 08:45
@dfuchss
dfuchss merged commit 955a0fc into main Oct 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant