summaryrefslogtreecommitdiffstats
path: root/vid-app-common/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/pom.xml')
-rwxr-xr-xvid-app-common/pom.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml
index f97a8a29c..5082129c7 100755
--- a/vid-app-common/pom.xml
+++ b/vid-app-common/pom.xml
@@ -219,6 +219,31 @@
</dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>pl.project13.maven</groupId>
+ <artifactId>git-commit-id-plugin</artifactId>
+ <version>2.2.4</version>
+ <executions>
+ <execution>
+ <id>get-the-git-infos</id>
+ <goals>
+ <goal>revision</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
+ <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
+ <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
+ <generateGitPropertiesFile>true</generateGitPropertiesFile>
+ <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
+ <includeOnlyProperties>
+ <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
+ <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
+ <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
+ </includeOnlyProperties>
+ </configuration>
+ </plugin>
</plugins>
</build>