You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2020/07/16 02:55:32 UTC

[james-project] 03/05: [RELEASE] git-commit-id-plugin should not fail when no git directory

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

btellier pushed a commit to branch 3.5.x
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit e2a0b83ba3f1202a090c57c8694263cb5e4b8c57
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Thu Jul 16 09:07:41 2020 +0700

    [RELEASE] git-commit-id-plugin should not fail when no git directory
    
    People compiling downloaded sources don't have a git environment setted up,
    we should not abort their compilation, while keeping useful git information
    shipped into the JARs when there is a git environment.
---
 pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pom.xml b/pom.xml
index e69a26a..5f763a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3311,6 +3311,7 @@
                     </includeOnlyProperties>
                     <skip>false</skip>
                     <useNativeGit>true</useNativeGit>
+                    <failOnNoGitDirectory>false</failOnNoGitDirectory>
                     <gitDescribe>
                         <skip>false</skip>
                         <always>false</always>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org