Skip to content

Fix missing <type>pom</type> for groovy-all dependency#850

Open
ventura-bar wants to merge 1 commit intojfrog:masterfrom
ventura-bar:fix-groovy-all-pom-type
Open

Fix missing <type>pom</type> for groovy-all dependency#850
ventura-bar wants to merge 1 commit intojfrog:masterfrom
ventura-bar:fix-groovy-all-pom-type

Conversation

@ventura-bar
Copy link
Copy Markdown

Fix missing <type>pom</type> for groovy-all dependency

Context:
The build-info-extractor-maven3 package declares a dependency on org.codehaus.groovy:groovy-all:3.0.13. Starting from version 3.0.0, the groovy-all package discontinued publishing the actual .jar artifact and was refactored into a pom packaging type (aggregator).

Bug:
Because the dependency definition in build.gradle omits the artifact extension, the generated pom.xml defaults to a jar type. This causes downstream users in strict or offline environments (e.g., using dependency:copy-dependencies) to suffer fatal --fail-at-end build crashes:
Could not resolve dependencies [...] org.codehaus.groovy:groovy-all:jar:3.0.13 was not found

Fix:
This PR simply appends @pom to the dependency declaration in build.gradle so that the maven-publish plugin accurately generates the required <type>pom</type> in the resulting POM file, effectively resolving the dependency tree resolution failure.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 12, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@ventura-bar
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

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