Skip to content

Comments

Add maven metadata and signature on workflowcheck aritfacts#2793

Merged
mjameswh merged 1 commit intomasterfrom
workflowcheck-maven-config
Feb 20, 2026
Merged

Add maven metadata and signature on workflowcheck aritfacts#2793
mjameswh merged 1 commit intomasterfrom
workflowcheck-maven-config

Conversation

@mjameswh
Copy link
Contributor

What was changed

  • Modified the root Gradle subprojects.publishing.publications config so it applies to every MavenPublication object, not only the mavenJava target. This allows subprojects to register extra publication targets that also inherit the POM and artifact signature configuration.
  • For the workflowcheck shadow (-all) publication, added the required sources and javadoc artifacts.

Why

  • This resolves Sonatype validation failures seen when publishing the newly added workflowcheck module.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Gradle publishing setup so POM metadata and signing apply consistently to all Maven publications (including custom ones like the shadow publication), and ensures the temporal-workflowcheck shaded (“-all”) artifact meets Sonatype requirements.

Changes:

  • Apply POM customization to every MavenPublication in each subproject (not just mavenJava).
  • Sign every MavenPublication when signing is configured.
  • Attach sourcesJar and javadocJar artifacts to the workflowcheck shadow publication.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
temporal-workflowcheck/build.gradle Adds sources/javadoc artifacts to the shadow Maven publication for Sonatype validation.
gradle/publishing.gradle Generalizes POM configuration and signing from mavenJava to all MavenPublication instances.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mjameswh mjameswh merged commit 20ab984 into master Feb 20, 2026
21 checks passed
@mjameswh mjameswh deleted the workflowcheck-maven-config branch February 20, 2026 15:30
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