diff options
author | Ofir Sonsino <os0695@intl.att.com> | 2018-09-06 07:17:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-06 07:17:49 +0000 |
commit | ef8bf3d7e94f77e9192fe01a848a9a1d6130d923 (patch) | |
tree | f45475fd008078af53c64cf11c1124193586c638 /vid-app-common/pom.xml | |
parent | 0905994ccab18237255f21c292a1616f92ec4856 (diff) | |
parent | 1906751861ca9457aaf14bb166c5e6ab61a695b7 (diff) |
Merge "Add new endpoint with commit info"
Diffstat (limited to 'vid-app-common/pom.xml')
-rwxr-xr-x | vid-app-common/pom.xml | 25 |
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>
|