petclinic-uncached
Changes
pom.xml 23(+22 -1)
Details
pom.xml 23(+22 -1)
diff --git a/pom.xml b/pom.xml
index aa14247..1b6a5ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>