Skip to content

Commit

Permalink
Merge pull request #1512 from kameshsr/MOSIP-34016-1
Browse files Browse the repository at this point in the history
MOSIP-34016 Corrected git commit id plugin
  • Loading branch information
ckm007 authored Jul 2, 2024
2 parents 2ac78e5 + 0b9d0f0 commit 34e7b34
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion authentication-demo-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,27 @@
<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}/service-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>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down

0 comments on commit 34e7b34

Please sign in to comment.