Add some generally useful stuff to starter parent

pull/9/head
Dave Syer 12 years ago
parent e8dfb7368f
commit 519d81cfdb

@ -119,6 +119,23 @@
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
<build> <build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/application.yml</include>
<include>**/application.propeties</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>**/application.yml</exclude>
<exclude>**/application.propeties</exclude>
</excludes>
</resource>
</resources>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<!-- Use specific maven plugin versions --> <!-- Use specific maven plugin versions -->
@ -211,6 +228,26 @@
<version>2.0</version> <version>2.0</version>
</plugin> </plugin>
<!-- Support the generally useful git info plugin -->
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>1.9</version>
<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>src/main/resources/git.properties</generateGitPropertiesFilename>
</configuration>
</plugin>
<!-- Support our own packaging plugin --> <!-- Support our own packaging plugin -->
<plugin> <plugin>
<groupId>org.springframework.zero</groupId> <groupId>org.springframework.zero</groupId>

Loading…
Cancel
Save