This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 046e500  Issue 2272: Fix git-commit-id-plugin (#2327)
046e500 is described below

commit 046e5007fec67ab89f2093d2ee85db0b09391d58
Author: Sijie Guo <guosi...@gmail.com>
AuthorDate: Tue Aug 7 08:06:05 2018 -0700

    Issue 2272: Fix git-commit-id-plugin (#2327)
    
    ### Motivation
    
    Fixes #2272.
    
    We are using git-commit-id plugin for generating a properties file 
containing all the build information.
    However you have to skip git-commit-id-plugin when the source code is not 
in a git repo.
    
     ### Changes
    
    add `<failOnNoGitDirectory>false</failOnNoGitDirectory>` to 
git-commit-plugin
---
 pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pom.xml b/pom.xml
index 0a2fae5..e04cce4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1137,6 +1137,7 @@ flexible messaging model and an intuitive client 
API.</description>
           <verbose>false</verbose>
           <generateGitPropertiesFile>true</generateGitPropertiesFile>
           
<generateGitPropertiesFilename>${project.build.outputDirectory}/${project.artifactId}-git.properties</generateGitPropertiesFilename>
+          <failOnNoGitDirectory>false</failOnNoGitDirectory>
           <failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
           <format>properties</format>
           <gitDescribe>

Reply via email to