Don't fail git plugin if .git/ is missing

Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/commit/764f2a33
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/tree/764f2a33
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/diff/764f2a33

Branch: refs/heads/master
Commit: 764f2a330bd78337118cb3bf0c7ab65aa1d6593a
Parents: de6a04a
Author: Stian Soiland-Reyes <[email protected]>
Authored: Mon Jan 8 17:06:49 2018 +0000
Committer: Stian Soiland-Reyes <[email protected]>
Committed: Mon Jan 8 17:06:49 2018 +0000

----------------------------------------------------------------------
 taverna-server-webapp/pom.xml | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/764f2a33/taverna-server-webapp/pom.xml
----------------------------------------------------------------------
diff --git a/taverna-server-webapp/pom.xml b/taverna-server-webapp/pom.xml
index cd3b703..b39854a 100644
--- a/taverna-server-webapp/pom.xml
+++ b/taverna-server-webapp/pom.xml
@@ -580,6 +580,8 @@ limitations under the License.
                                        
<dotGitDirectory>${project.basedir}/../.git</dotGitDirectory>
                                        <prefix>git</prefix>
                                        <verbose>true</verbose>
+                                       <!-- .git is not included in -source 
releases -->
+                                       
<failOnNoGitDirectory>false</failOnNoGitDirectory>
                                </configuration>
                        </plugin>
                        <plugin>

Reply via email to