fix: enforce maven-enforcer-plugin 3.6.3 in release profile and fix POM structure#394
Merged
Merged
Conversation
In functions-framework-api/pom.xml, an existing pluginManagement block at line 130 caused duplicate tag parse errors when adding maven-enforcer-plugin:3.6.3. This merges the maven-enforcer-plugin configuration into the single existing pluginManagement block, ensuring valid POM XML structure. Change-Id: Iaf22b3348ecd9cbbd42f0ed995e2ce5e1831a4f6
…ofile When release builds activate the sonatype-oss-release profile inherited from oss-parent:9, Maven executes maven-enforcer-plugin:1.2 declared in the parent profile's plugins block, overriding root-level pluginManagement. This explicitly declares maven-enforcer-plugin:3.6.3 inside the sonatype-oss-release profile across all modules, guaranteeing modern plugin execution during automated release builds. Change-Id: I410f36f6f53309388dcdef52a53131367b2cb165
taeold
approved these changes
Jul 8, 2026
This was referenced Jul 9, 2026
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.
When release builds activate the
sonatype-oss-releaseprofile inherited fromoss-parent:9, Maven executesmaven-enforcer-plugin:1.2declared in the parent profile's plugins block, overriding root-levelpluginManagement.This PR:
maven-enforcer-plugin:3.6.3inside thesonatype-oss-releaseprofile across all modules, guaranteeing modern plugin execution during automated release builds.pluginManagementblocks infunctions-framework-api/pom.xmlto resolve duplicate tag parse errors and ensure valid POM XML structure.