DRILL-1234: Building Drill from source distribution fails

Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/5dca307d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/5dca307d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/5dca307d

Branch: refs/heads/master
Commit: 5dca307d1234999e2313b43fe00368a461c096be
Parents: 70c2e5e
Author: Aditya Kishore <adi...@maprtech.com>
Authored: Thu Jul 31 02:02:45 2014 -0700
Committer: Jacques Nadeau <jacq...@apache.org>
Committed: Wed Aug 6 16:44:20 2014 -0700

----------------------------------------------------------------------
 distribution/src/assemble/bin.xml | 2 +-
 pom.xml                           | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/5dca307d/distribution/src/assemble/bin.xml
----------------------------------------------------------------------
diff --git a/distribution/src/assemble/bin.xml 
b/distribution/src/assemble/bin.xml
index f66544a..e941f4c 100644
--- a/distribution/src/assemble/bin.xml
+++ b/distribution/src/assemble/bin.xml
@@ -118,7 +118,7 @@
       <outputDirectory/>
     </file>
     <file>
-      <source>target/classes/git.properties</source>
+      <source>../git.properties</source>
       <outputDirectory/>
     </file>
     <file>

http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/5dca307d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index cb81b11..7a78b57 100644
--- a/pom.xml
+++ b/pom.xml
@@ -268,6 +268,7 @@
         <groupId>pl.project13.maven</groupId>
         <artifactId>git-commit-id-plugin</artifactId>
         <version>2.1.9</version>
+        <inherited>false</inherited>
         <executions>
           <execution>
             <goals>
@@ -281,7 +282,7 @@
           <verbose>true</verbose>
           <skipPoms>false</skipPoms>
           <generateGitPropertiesFile>true</generateGitPropertiesFile>
-          
<generateGitPropertiesFilename>target/classes/git.properties</generateGitPropertiesFilename>
+          
<generateGitPropertiesFilename>./git.properties</generateGitPropertiesFilename>
           <failOnNoGitDirectory>false</failOnNoGitDirectory>
           <gitDescribe>
             <skip>false</skip>

Reply via email to