Repository: incubator-taverna-server
Updated Branches:
  refs/heads/master 8f83517cd -> 458621f6c


Fall back if git-commit-id-plugin can't execute

e.g. as in a source release where there is no .git/


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/458621f6
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/tree/458621f6
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/diff/458621f6

Branch: refs/heads/master
Commit: 458621f6c9d6e6f0dfd8f5eef79c6126d7657c0d
Parents: 8f83517
Author: Stian Soiland-Reyes <[email protected]>
Authored: Mon Jan 8 17:16:01 2018 +0000
Committer: Stian Soiland-Reyes <[email protected]>
Committed: Mon Jan 8 17:16:01 2018 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-taverna-server/blob/458621f6/taverna-server-webapp/pom.xml
----------------------------------------------------------------------
diff --git a/taverna-server-webapp/pom.xml b/taverna-server-webapp/pom.xml
index b39854a..c9a0822 100644
--- a/taverna-server-webapp/pom.xml
+++ b/taverna-server-webapp/pom.xml
@@ -38,6 +38,13 @@ limitations under the License.
                <forker.module>taverna-server-unix-forker</forker.module>
                
<util.dir>${project.build.directory}/${project.build.finalName}/WEB-INF/classes/util</util.dir>
                
<cmdline.dir>${util.dir}/taverna-command-line-${taverna.commandline.version}</cmdline.dir>
+               <!-- Default values in case .git/ does not exists, otherwise
+                    overriden by git-commit-id-plugin
+               -->
+               <git.commit.id.describe></git.commit.id.describe>
+               <git.branch></git.branch>
+               <git.build.time></git.build.time>
+
        </properties>
 
        <dependencies>
@@ -577,6 +584,8 @@ limitations under the License.
                                        </execution>
                                </executions>
                                <configuration>
+                                       
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
+                                       
<dateFormatTimeZone>UTC</dateFormatTimeZone>
                                        
<dotGitDirectory>${project.basedir}/../.git</dotGitDirectory>
                                        <prefix>git</prefix>
                                        <verbose>true</verbose>

Reply via email to