Skip to content

Conversation

@StevenLuMT
Copy link
Member

Remove the pulsar-bom import; each module is free to use its own version, and a unified pulsar version is not strictly necessary. Each project can import it independently. If using the default version, use default.pulsar.version.

@StevenLuMT StevenLuMT force-pushed the main-updatePulsarPom branch 2 times, most recently from 3e75ce7 to d6f801a Compare November 4, 2025 07:50
…n version, and a unified pulsar version is not strictly necessary. Each project can import it independently. If using the default version, use default.pulsar.version.
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why remove this BOM? Did you encounter any problems?

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

This PR refactors Maven dependency management by renaming the pulsar.version property to default.pulsar.version and removing the centralized pulsar-bom dependency management. The changes allow for more explicit version control of Apache Pulsar dependencies across child modules.

  • Renamed property pulsar.version to default.pulsar.version in parent POM
  • Removed pulsar-bom from centralized dependency management
  • Added explicit version declarations for Pulsar dependencies in child modules
  • Removed duplicate pulsar-client-admin dependency in pulsar-admin-mcp-contrib

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pom.xml Renamed pulsar.version property to default.pulsar.version and removed pulsar-bom from dependency management
pulsar-transaction-contrib/pom.xml Added explicit version reference using ${default.pulsar.version} for pulsar-client-all
pulsar-rpc-contrib/src/main/resources/pulsar-container.properties Updated property reference from ${pulsar.version} to ${default.pulsar.version}
pulsar-rpc-contrib/pom.xml Added explicit version references for pulsar-client and pulsar-client-admin dependencies
pulsar-client-common-contrib/pom.xml Added explicit version reference for pulsar-client-all dependency
pulsar-admin-mcp-contrib/pom.xml Added explicit version references and removed duplicate pulsar-client-admin dependency

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

<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-client-admin</artifactId>
<version>${default.pulsar.version}</version>
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

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

The pulsar-client-admin dependency is missing the <scope>test</scope> that was present in the removed duplicate declaration. If this dependency is only needed for tests, the test scope should be retained on line 42.

Suggested change
<version>${default.pulsar.version}</version>
<version>${default.pulsar.version}</version>
<scope>test</scope>

Copilot uses AI. Check for mistakes.
@StevenLuMT StevenLuMT closed this Nov 4, 2025
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