mirror of
https://gitee.com/dcren/initializr.git
synced 2026-01-24 13:52:14 +08:00
Upgrade to Spring Boot 1.4.0.RELEASE
This commit upgrades to Spring Boot 1.4.0.RELEASE and bumps to Java8. It also migrate the cache library from Guava to Caffeeine. The git and build information are now exposed via the `info` endpoint. Closes gh-251
This commit is contained in:
@@ -33,15 +33,43 @@
|
||||
<groupId>org.codehaus.gmavenplus</groupId>
|
||||
<artifactId>gmavenplus-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>revision</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
|
||||
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
||||
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>repackage</id>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>build information</id>
|
||||
<goals>
|
||||
<goal>build-info</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<additionalProperties>
|
||||
<versions.spring-boot>${spring.boot.version}</versions.spring-boot>
|
||||
</additionalProperties>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
@@ -1,11 +1,3 @@
|
||||
info:
|
||||
project:
|
||||
name: Spring Start
|
||||
version: 0.4.0
|
||||
# remember to update static/install.sh as well:
|
||||
spring-boot:
|
||||
version: 1.3.6.RELEASE
|
||||
|
||||
logging:
|
||||
level:
|
||||
org.springframework.core.env: warn
|
||||
@@ -17,6 +9,11 @@ server:
|
||||
mime-types: application/json,text/css,text/html
|
||||
min-response-size: 2048
|
||||
|
||||
spring:
|
||||
jackson:
|
||||
serialization:
|
||||
write-dates-as-timestamps: false
|
||||
|
||||
initializr:
|
||||
env:
|
||||
boms:
|
||||
@@ -753,3 +750,4 @@ initializr:
|
||||
- name: 1.1.12
|
||||
id: 1.1.12.RELEASE
|
||||
default: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user