You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2019/08/27 01:37:44 UTC

[zeppelin] branch master updated: ZEPPELIN-4304 Allow to override useNativeGit property of the gitcommitid plugin

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

zjffdu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new b80c3a4  ZEPPELIN-4304 Allow to override useNativeGit property of the gitcommitid plugin
b80c3a4 is described below

commit b80c3a4d6ab40dd8146cb30013b25742640dac0d
Author: Alex Ott <al...@gmail.com>
AuthorDate: Sun Aug 18 16:43:51 2019 +0200

    ZEPPELIN-4304 Allow to override useNativeGit property of the gitcommitid plugin
    
    ## What is this PR for?
    
    It's now possible to override value of the `useNativeGit` configuration property of the
    git commit id plugin with `plugin.gitcommitid.useNativeGit` property, like this:
    
    ```
    mvn package -Dplugin.gitcommitid.useNativeGit=true
    ```
    
    ### What type of PR is it?
    
    Improvement
    
    ### Todos
    * [ ] - Task
    
    ### What is the Jira issue?
    
    ZEPPELIN-4304
    
    ### Questions:
    * Does the licenses files need update?
    No
    * Is there breaking changes for older versions?
    No
    * Does this needs documentation?
    No
    
    Author: Alex Ott <al...@gmail.com>
    
    Closes #3427 from alexott/ZEPPELIN-4304 and squashes the following commits:
    
    3a6d9555e [Alex Ott] ZEPPELIN-4304 Allow to override useNativeGit property of the gitcommitid plugin
---
 pom.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pom.xml b/pom.xml
index c962eb4..6f32b9b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,6 +152,8 @@
     <plugin.deploy.version>2.8.2</plugin.deploy.version>
     <plugin.shade.version>3.1.1</plugin.shade.version>
 
+    <plugin.gitcommitid.useNativeGit>false</plugin.gitcommitid.useNativeGit>
+
     <PermGen>64m</PermGen>
     <MaxPermGen>512m</MaxPermGen>
 
@@ -527,6 +529,7 @@
         <configuration>
           <skipPoms>false</skipPoms>
           <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
+          <useNativeGit>${plugin.gitcommitid.useNativeGit}</useNativeGit>
           <generateGitPropertiesFile>true</generateGitPropertiesFile>
           <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
           <failOnNoGitDirectory>false</failOnNoGitDirectory>