Skip to content

Fix gh-release and jboss-parent overrides#34

Merged
rnc merged 4 commits intoproject-ncl:mainfrom
rnc:BR1
Apr 29, 2026
Merged

Fix gh-release and jboss-parent overrides#34
rnc merged 4 commits intoproject-ncl:mainfrom
rnc:BR1

Conversation

@rnc
Copy link
Copy Markdown
Contributor

@rnc rnc commented Apr 29, 2026

The reason to have a separate jboss_parent_override is so that if someone overrides the mvn command line (e.g. to add profiles) then they don't have to remember all of the necessary flags for jboss-parent.

Comment thread .github/workflows/maven-release.yml Outdated
# releaseProfile: Use the central profile not jboss-release
# signTag: Reset back to maven-release-plugin default
# tagNameFormat: Reset to maven-release-plugin default
default: '-Dcentral.serverId=central-publisher -Dcentral.autoPublish=false -DreleaseProfile=central-release -DsignTag=false -DtagNameFormat=@{project.artifactId}-@{project.version}'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would the central-release profile break the older jboss-parent versions?

And the tag name format will deviate from what we currently use which is just project.version I believe.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if releaseProfile references a profile that does not exist then Maven will log a warning, ignore it and continue.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed the tagNameFormat override and documented instead how the caller could override it (for those few project-ncl/* repositories that use the default).

@rnc rnc merged commit 2d92776 into project-ncl:main Apr 29, 2026
2 checks passed
@rnc rnc deleted the BR1 branch April 29, 2026 14:54
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