diff --git a/pom.xml b/pom.xml index aa1424760df0ebf5317f36caae1277298ecb55c6..1b6a5ed66ab3a4b8ca5de60c3a364139b54545ef 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>