Skip to content

Fix Gradle plugin publishing by adding explicit dependency versions for POM generation#292

Merged
wodrobina merged 1 commit intoePages-de:masterfrom
wodrobina:fix/plugin-publish-pom
Mar 10, 2026
Merged

Fix Gradle plugin publishing by adding explicit dependency versions for POM generation#292
wodrobina merged 1 commit intoePages-de:masterfrom
wodrobina:fix/plugin-publish-pom

Conversation

@wodrobina
Copy link
Contributor

This change fixes a failure during the publishPlugins task when releasing the Gradle plugin.

The Gradle Plugin Publish plugin generates its own POM when pluginBundle.mavenCoordinates() is used. In that mode it requires explicit dependency versions. Several dependencies in the Gradle plugin module relied on versions provided indirectly via the Spring Boot BOM (io.spring.dependency-management). While this works for compilation, the plugin-publish process cannot resolve these versions when generating the plugin POM.

As a result, the release failed with errors like:

No version found for ... on pom generation

This PR adds explicit dependency versions so that the plugin publication can generate a complete POM and the release pipeline succeeds.

@wodrobina wodrobina requested a review from a team March 10, 2026 12:12
@wodrobina wodrobina merged commit c3d0f12 into ePages-de:master Mar 10, 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.

2 participants