Skip to content

[improve] [pip] PIP-463: Migrate Build System from Maven to Gradle#25359

Open
merlimat wants to merge 1 commit intoapache:masterfrom
merlimat:pip/pip-463
Open

[improve] [pip] PIP-463: Migrate Build System from Maven to Gradle#25359
merlimat wants to merge 1 commit intoapache:masterfrom
merlimat:pip/pip-463

Conversation

@merlimat
Copy link
Contributor

Motivation

Apache Pulsar currently uses Maven as its build system. The project has grown to over 100 modules with complex dependency relationships, shaded JARs, NAR packaging, and Docker image builds. Maven's sequential execution model and limited caching capabilities result in long build times that impact developer productivity and CI throughput.

Goal

Migrate the Pulsar build from Maven to Gradle to achieve:

  • Incremental compilation and task-level caching
  • Parallel task execution (not just module-level)
  • A single version catalog (gradle/libs.versions.toml) replacing scattered version properties
  • Develocity integration for build observability via develocity.apache.org
  • Simpler shading and NAR packaging configuration

Design

Full details in the PIP document: pip/pip-463.md

Proof of Concept PR (CI fully green): merlimat#16


Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Your PR doesn't need any doc update)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Your PR changes docs and the linked doc PR has been merged)

@github-actions github-actions bot added PIP doc-not-needed Your PR changes do not impact docs labels Mar 19, 2026
@merlimat merlimat changed the title PIP-463: Migrate Build System from Maven to Gradle [pip] PIP-463: Migrate Build System from Maven to Gradle Mar 19, 2026
@merlimat merlimat changed the title [pip] PIP-463: Migrate Build System from Maven to Gradle [improve] [pip] PIP-463: Migrate Build System from Maven to Gradle Mar 19, 2026
@merlimat merlimat added this to the 5.0.0 milestone Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs PIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant