Skip to content

fix(ci): use excludeArtifacts to exclude tooling modules from Central bundle#49

Merged
pratyush618 merged 1 commit intomainfrom
fix/exclude-artifacts-central-publishing
Mar 29, 2026
Merged

fix(ci): use excludeArtifacts to exclude tooling modules from Central bundle#49
pratyush618 merged 1 commit intomainfrom
fix/exclude-artifacts-central-publishing

Conversation

@pratyush618
Copy link
Copy Markdown
Collaborator

Summary

  • The central-publishing-maven-plugin with <extensions>true</extensions> replaces the deploy lifecycle entirely — maven.deploy.skip and central.publishing.skip have no effect. Modules were still bundled without sources/javadoc/signatures, causing Central Portal to reject the deployment.
  • Use the plugin's built-in excludeArtifacts parameter to properly exclude agenteval-intellij and agenteval-gradle-plugin from the publishing bundle.
  • Clean up ineffective skip properties from child modules, keeping only maven.javadoc.skip, maven.source.skip, and gpg.skip which control their respective plugins directly.

Changes

  • pom.xml — add <excludeArtifacts> to central-publishing-maven-plugin config in release profile
  • agenteval-intellij/pom.xml — remove ineffective maven.deploy.skip, maven.install.skip, central.publishing.skip
  • agenteval-gradle-plugin/pom.xml — same cleanup

Test plan

  • mvn verify -B passes — all 18 modules build successfully
  • Re-run release workflow on 0.1.0 tag after merge

… bundle

The central-publishing-maven-plugin with <extensions>true</extensions>
replaces the deploy lifecycle entirely, so maven.deploy.skip and
central.publishing.skip have no effect — modules were still bundled
without sources/javadoc/signatures, causing Central Portal rejection.

Use the plugin's built-in excludeArtifacts parameter to properly
exclude agenteval-intellij and agenteval-gradle-plugin from the
publishing bundle. Remove ineffective skip properties (deploy, install,
central.publishing.skip) from child modules, keeping only javadoc,
source, and GPG skips which control their respective plugins directly.
@pratyush618 pratyush618 merged commit 01a7c5b into main Mar 29, 2026
10 checks passed
@pratyush618 pratyush618 deleted the fix/exclude-artifacts-central-publishing branch March 31, 2026 17:11
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