Skip to content
Snippets Groups Projects
Commit 3450c3d9 authored by Antoine Rey's avatar Antoine Rey
Browse files

Add Git commit information to the /manage/info endpoint

parent d69b8969
No related branches found
No related tags found
No related merge requests found
......@@ -207,6 +207,26 @@
</executions>
</plugin>
<!-- Spring Boot Actuator displays build-related information if a git.properties file is present at the classpath -->
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<verbose>true</verbose>
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
</generateGitPropertiesFilename>
</configuration>
</plugin>
<plugin>
<!--
right now lesscss maven plugin does NOT support @Import from classpath
......@@ -232,7 +252,8 @@
<artifactId>bootstrap</artifactId>
<version>3.3.6</version>
<overWrite>false</overWrite>
<outputDirectory>${project.basedir}/src/main/webapp/resources/generated</outputDirectory>
<outputDirectory>${project.basedir}/src/main/webapp/resources/generated
</outputDirectory>
<includes>**/*.less</includes>
</artifactItem>
</artifactItems>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment