Remove Git plugin from Spring Boot tools
The Git plugin was primarily being used to provide version information that Boot's maven plugin can add into the MANIFEST.MF of the uber-jars that it creates under the Spring-Boot-Commit-Id attribute. This commit removes the Git plugin from Boot's own projects, but leaves it in the spring-boot-starter-parent for use by Spring Boot-based applications. The attribute in the uber-jars' MANIFEST.MF has been replaced with a Spring-Boot-Version attribute. The value of this attribute is the implementation version of Repackager class's package.
This commit is contained in:
@@ -19,25 +19,4 @@
|
||||
<module>spring-boot-maven-plugin</module>
|
||||
<module>spring-boot-gradle-plugin</module>
|
||||
</modules>
|
||||
<build>
|
||||
<plugins>
|
||||
<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>src/main/resources/org/springframework/boot/git.properties</generateGitPropertiesFilename>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user