Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DRILL-7169: Rename drill-root ArtifactID to apache-drill #1746

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

Open
vdiravka wants to merge 4 commits into apache:master
base: master
Choose a base branch
Loading
from vdiravka:DRILL-7169

Conversation

@vdiravka
Copy link
Member

@vdiravka vdiravka commented Apr 11, 2019

Change 'project.artifactId' from 'drill-root' to 'apache-drill'

Note: it includes changes for #1743 also (it is expected that PR will be merged first)

Copy link
Member

@vvysotskyi vvysotskyi left a comment
edited
Loading

Choose a reason for hiding this comment

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

@vdiravka, with this change, a folder with the unpacked build in distribution was renamed from apache-drill-1.16.0-SNAPSHOT to distribution-1.16.0-SNAPSHOT, so for now built version is in the distribution/target/distribution-1.16.0-SNAPSHOT/distribution-1.16.0-SNAPSHOT/ instead of distribution/target/apache-drill-1.16.0-SNAPSHOT/apache-drill-1.16.0-SNAPSHOT/.

I don't think that we should rename these folders.

Copy link
Member Author

@vdiravka, with this change, a folder with the unpacked build in distribution was renamed from apache-drill-1.16.0-SNAPSHOT to distribution-1.16.0-SNAPSHOT, so for now built version is in the distribution/target/distribution-1.16.0-SNAPSHOT/distribution-1.16.0-SNAPSHOT/ instead of distribution/target/apache-drill-1.16.0-SNAPSHOT/apache-drill-1.16.0-SNAPSHOT/.

I don't think that we should rename these folders.

Thanks for finding this, it is random mistake.

<sources>
<source>
<location>target/apache-drill-${project.version}/apache-drill-${project.version}/git.properties</location>
<location>target/${project.parent.artifactId}-${project.version}/${project.parent.artifactId}-${project.version}/git.properties</location>
Copy link
Contributor

Choose a reason for hiding this comment

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

all the <location>target/... can be replaced by <location>${project.build.directory}/....

Copy link
Member Author

Choose a reason for hiding this comment

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

Good suggestion. Done.

pom.xml Outdated

<target.gen.source.path>${project.basedir}/target/generated-sources</target.gen.source.path>
<target.gen.source.path>${project.build.directory}/generated-sources</target.gen.source.path>
<proto.cas.path>${project.basedir}/src/main/protobuf/</proto.cas.path>
Copy link
Contributor

Choose a reason for hiding this comment

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

is this path correct ? I don't see any src/main/protobuf path ?

Also there are other places like line 549 which can be modified to replace target/classes with ${project.build.outputDirectory}

Copy link
Member Author

Choose a reason for hiding this comment

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

  1. Looks like it was introduced for a long time ago for maven-antrun-plugin.
    b53933f#diff-0c2b5a9caaab6aa53c1c6c7dead7be77R118
    But a little bit later this usage was removed. I think it is safe to remove it.

  2. Modified

Copy link
Contributor

@sohami sohami left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Member

@vvysotskyi vvysotskyi left a comment

Choose a reason for hiding this comment

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

Changes look good, but as we discussed before, it would be good to hear community opinion about this change.
Please send a letter to the dev and user mailing lists about this change.

vdiravka reacted with thumbs up emoji
Copy link
Member

@vvysotskyi vvysotskyi left a comment

Choose a reason for hiding this comment

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

+1

vdiravka added 4 commits May 9, 2019 00:01
- change 'project.artifactId' from 'drill-root' to 'apache-drill'
...hes with ${project.build.directory},
${project.build.outputDirectory} and ${project.build.testOutputDirectory} properties accordingly
Copy link
Member Author

vdiravka commented May 8, 2019

@vvysotskyi @sohami I have rebased the changes onto latest Drill master branch and added one commit with minor improvement.
Please review it, once the community will agreed in dev mailing list with these changes:
Note: mail topic is Rename 'project.artifactId'

Copy link
Member

@vdiravka / @vvysotskyi what is the status of this PR?

Copy link
Member

Currently, there is no consensus for this change, here is mail thread with the discussion: https://lists.apache.org/thread.html/99a2098ae04d56dd5994288b5fc05780d7de09a2f4a5ffbc5ce39cde@%3Cdev.drill.apache.org%3E

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vvysotskyi vvysotskyi vvysotskyi approved these changes

@sohami sohami sohami approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /