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

DRILL-6956: Maintain a single entry for Drill Version in the pom file #1605

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kkhatua
Copy link
Contributor

@kkhatua kkhatua commented Jan 9, 2019

Currently, updating the version information for a Drill release involves updating 30+ pom files.
The right way would be to use the Multi Module Setup for Maven CI.
https://maven.apache.org/maven-ci-friendly.html#Multi_Module_Setup

@kkhatua kkhatua self-assigned this Jan 9, 2019
@kkhatua kkhatua requested a review from vdiravka January 9, 2019 00:25
@vdiravka
Copy link
Member

vdiravka commented Jan 10, 2019

@kkhatua This is a good change, but there are two concerns with it:

  • according to maven doc this feature works starting from 3.5.0-beta-1 Maven version. It means that we push all devs to update their Maven to 3.5.0 version. Currently Drill can be built with Maven 3.3.3 version. Do we really want it? Possibly it can be discussed on mailing list.
  • Did you verify mvn release:prepare maven phase? Did it update version entry only in a single place?

@kkhatua kkhatua force-pushed the DRILL-6956 branch 2 times, most recently from 99eca7c to 603c53f Compare January 25, 2019 17:35
@kkhatua kkhatua force-pushed the DRILL-6956 branch 3 times, most recently from 786b9ad to 4f31d68 Compare February 7, 2019 20:03
@kkhatua kkhatua force-pushed the DRILL-6956 branch 2 times, most recently from ab28ffd to 806f169 Compare February 24, 2019 16:40
Copy link
Member

@vdiravka vdiravka left a comment

Choose a reason for hiding this comment

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

@kkhatua
Looks like it is not full setup. flatten-maven-plugin should be added to replace ${revision} placeholders after generating artifacts.
Please check Install / Deploy section of https://maven.apache.org/maven-ci-friendly.html

Currently, updating the version information for a Drill release involves updating 30+ pom files.
The right way would be to use the Multi Module Setup for Maven CI.
https://maven.apache.org/maven-ci-friendly.html#Multi_Module_Setup
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.

None yet

2 participants