Skip to content

fix(ci): exclude tooling modules from Maven Central release lifecycle#47

Merged
pratyush618 merged 1 commit intomainfrom
fix/release-tooling-modules
Mar 29, 2026
Merged

fix(ci): exclude tooling modules from Maven Central release lifecycle#47
pratyush618 merged 1 commit intomainfrom
fix/release-tooling-modules

Conversation

@pratyush618
Copy link
Copy Markdown
Collaborator

Summary

  • Fix release workflow failure caused by maven-javadoc-plugin scanning IntelliJ SDK-dependent source files in agenteval-intellij, producing 50+ compilation errors (all 3 recent release runs failed)
  • Skip all release lifecycle phases (javadoc, source, deploy, install, GPG, central-publishing) for agenteval-intellij and agenteval-gradle-plugin — these modules are distributed via JetBrains Marketplace and Gradle Plugin Portal respectively, not Maven Central
  • Add waitMaxTime=30 to central-publishing-maven-plugin to prevent indefinite workflow hangs, and align BOM GPG plugin version with parent

Changes

  • agenteval-intellij/pom.xml — add skip properties for all release phases
  • agenteval-gradle-plugin/pom.xml — add skip properties for all release phases
  • pom.xml — add waitMaxTime to central-publishing-maven-plugin
  • agenteval-bom/pom.xml — add waitMaxTime, align GPG plugin version 3.2.7 → 3.2.8

Test plan

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

The release workflow failed because maven-javadoc-plugin scanned all
source files in agenteval-intellij, including 5 files that import
IntelliJ Platform SDK classes not available on the Maven classpath.
The compiler plugin had excludes for these files, but javadoc does not
inherit them.

- Skip javadoc, source, deploy, install, GPG, and central-publishing
  for agenteval-intellij (distributed via JetBrains Marketplace) and
  agenteval-gradle-plugin (published to Gradle Plugin Portal)
- Add waitMaxTime=30 to central-publishing-maven-plugin to prevent
  indefinite hangs during Maven Central publishing
- Align BOM GPG plugin version (3.2.7 → 3.2.8) with parent
@pratyush618 pratyush618 merged commit dbab627 into main Mar 29, 2026
10 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.

1 participant