Repository navigation
Conversation
The ubuntu-24.04 runner image 20261004.327 ships Maven 3.10.0, which turns a repeated <dependency> declaration from a warning into a model error, so the build stops while reading the POMs: 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.fasterxml.jackson.core:jackson-core:jar (openidm-workflow-activiti) ... org.osgi:org.osgi.util.promise:jar, org.osgi:org.osgi.util.function:jar (openidm-maintenance) Each removed block was an exact copy of an earlier declaration, so the resolved dependency set of both modules is unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
build-mavenjobs started failing on open PRs (#251, #226) before compilation, while reading the POMs:Which job fails depends only on which runner image it lands on: the ubuntu-24.04 image
20261004.327ships Maven 3.10.0, which rejects a repeated<dependency>declaration, while the previous image20260927.320(Maven 3.9.16) only warns about it. The duplicates are already onmaster, so every PR is affected as the new image rolls out.Change
openidm-workflow-activiti/pom.xml: drop the secondjackson-coredeclaration.openidm-maintenance/pom.xml: drop the repeatedorg.osgi.util.promise/org.osgi.util.functionpair.Each removed block is an exact copy of an earlier declaration (same scope), so the resolved dependency set of both modules is unchanged.
Verification (Maven 3.10.0)
masterPOMs of both modules failmvn validatewith the errors above.mvn validatepasses for the whole reactor, andmvn -pl openidm-maintenance,openidm-workflow-activiti -am install -DskipTestssucceeds.