Skip to content

Commit

Permalink
Add git path to the jars and actuator
Browse files Browse the repository at this point in the history
  • Loading branch information
gsasikumar authored Jun 16, 2020
1 parent f3da890 commit f0585e6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pre-registration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,31 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<goal>revision</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
<configuration>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
<includeOnlyProperties>
<includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
<includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
</includeOnlyProperties>
<commitIdGenerationMode>full</commitIdGenerationMode>
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
<!-- <format>json</format> -->
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit f0585e6

Please sign in to comment.