|
|
|
@ -34,6 +34,29 @@ |
|
|
|
</dependencies> |
|
|
|
</dependencies> |
|
|
|
<build> |
|
|
|
<build> |
|
|
|
<plugins> |
|
|
|
<plugins> |
|
|
|
|
|
|
|
<plugin> |
|
|
|
|
|
|
|
<groupId>pl.project13.maven</groupId> |
|
|
|
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId> |
|
|
|
|
|
|
|
<executions> |
|
|
|
|
|
|
|
<execution> |
|
|
|
|
|
|
|
<id>include-git-properties</id> |
|
|
|
|
|
|
|
<phase>prepare-package</phase> |
|
|
|
|
|
|
|
<goals> |
|
|
|
|
|
|
|
<goal>revision</goal> |
|
|
|
|
|
|
|
</goals> |
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
|
|
<dotGitDirectory>${main.basedir}/.git</dotGitDirectory> |
|
|
|
|
|
|
|
<verbose>true</verbose> |
|
|
|
|
|
|
|
<gitDescribe> |
|
|
|
|
|
|
|
<skip>true</skip> |
|
|
|
|
|
|
|
</gitDescribe> |
|
|
|
|
|
|
|
</configuration> |
|
|
|
|
|
|
|
</execution> |
|
|
|
|
|
|
|
</executions> |
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
|
|
<failOnNoGitDirectory>false</failOnNoGitDirectory> |
|
|
|
|
|
|
|
</configuration> |
|
|
|
|
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-dependency-plugin</artifactId> |
|
|
|
<artifactId>maven-dependency-plugin</artifactId> |
|
|
|
@ -80,6 +103,16 @@ |
|
|
|
</execution> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
</plugin> |
|
|
|
|
|
|
|
<plugin> |
|
|
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId> |
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
|
|
<archive> |
|
|
|
|
|
|
|
<manifestEntries> |
|
|
|
|
|
|
|
<Spring-Boot-Commit-Id>${git.commit.id}</Spring-Boot-Commit-Id> |
|
|
|
|
|
|
|
</manifestEntries> |
|
|
|
|
|
|
|
</archive> |
|
|
|
|
|
|
|
</configuration> |
|
|
|
|
|
|
|
</plugin> |
|
|
|
</plugins> |
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
</build> |
|
|
|
</project> |
|
|
|
</project> |
|
|
|
|