Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move zookeeper/bookkeeper from dependency management and only specify the dependency when they are used #1052

Merged
merged 1 commit into from
Jan 17, 2018

Conversation

sijie
Copy link
Member

@sijie sijie commented Jan 10, 2018

Motivation

Currently zookeeper and bookkeeper are specified in dependency management. so a specific version of zookeeper and bookkeeper is enforced across the project. It would be good to move zk and bk away from dependency management and only specify the dependency when they are used. so it allows playing around with the new bookkeeper version in a separate module.

Modifications

  • move zk dependency to pulsar-zookeeper
  • move bk dependency to managed-ledger

Result

It allows me using the latest bookkeeper client in a separated module that I am working on.

@sijie
Copy link
Member Author

sijie commented Jan 10, 2018

fyi - this is a temporary change to allow me using the latest apache/bookkeeper version in a new module I am working on for pulsar. I created a follow up issue #1053 for moving zk/bk back to dependency management after pulsar starts using latest apache/bookkeeper version.

@rdhabalia
Copy link
Contributor

I am not sure if this is a good idea to move it out from dependency-management for development testing. and for dev testing, can't we always override maven-version into specific module's pom.?

@sijie
Copy link
Member Author

sijie commented Jan 11, 2018

@rdhabalia I tried with override version. it didn't work, because it seems that dependency management enforces version selection even the dependency is a transitive dependency.

Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

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

👍

@merlimat merlimat merged commit 3295cfd into apache:master Jan 17, 2018
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.

3 participants