Repository: incubator-drill Updated Branches: refs/heads/master 98b208e26 -> 8c6652573
DRILL-1234: Building Drill from source distribution fails [addendum] Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/a564da9e Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/a564da9e Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/a564da9e Branch: refs/heads/master Commit: a564da9e55eab2e85bb38827bc577fbdfea78576 Parents: 5dca307 Author: Aditya Kishore <[email protected]> Authored: Thu Jul 31 10:33:16 2014 -0700 Committer: Jacques Nadeau <[email protected]> Committed: Wed Aug 6 16:44:20 2014 -0700 ---------------------------------------------------------------------- pom.xml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/a564da9e/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 7a78b57..f023ef1 100644 --- a/pom.xml +++ b/pom.xml @@ -268,12 +268,26 @@ <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <version>2.1.9</version> - <inherited>false</inherited> <executions> <execution> + <id>for-jars</id> + <inherited>true</inherited> <goals> <goal>revision</goal> </goals> + <configuration> + <generateGitPropertiesFilename>target/classes/git.properties</generateGitPropertiesFilename> + </configuration> + </execution> + <execution> + <id>for-source-tarball</id> + <goals> + <goal>revision</goal> + </goals> + <inherited>false</inherited> + <configuration> + <generateGitPropertiesFilename>./git.properties</generateGitPropertiesFilename> + </configuration> </execution> </executions> @@ -282,7 +296,6 @@ <verbose>true</verbose> <skipPoms>false</skipPoms> <generateGitPropertiesFile>true</generateGitPropertiesFile> - <generateGitPropertiesFilename>./git.properties</generateGitPropertiesFilename> <failOnNoGitDirectory>false</failOnNoGitDirectory> <gitDescribe> <skip>false</skip>
