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-7169: Rename drill-root ArtifactID to apache-drill #1746

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

vdiravka
Copy link
Member

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

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.

@vdiravka
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.

@@ -390,71 +390,71 @@
<directory>/opt/drill</directory>
<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
@@ -42,7 +42,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>

<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.

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

- change 'project.artifactId' from 'drill-root' to 'apache-drill'
…hes with ${project.build.directory},

${project.build.outputDirectory} and ${project.build.testOutputDirectory} properties accordingly
@vdiravka
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'

@arina-ielchiieva
Copy link
Member

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

@vvysotskyi
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants