mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '3.1.x'
Closes gh-38078
This commit is contained in:
commit
f66c76e2a8
@ -9,9 +9,9 @@ It also allows you to add an arbitrary number of additional properties, as shown
|
||||
include::../maven/build-info/pom.xml[tags=build-info]
|
||||
----
|
||||
|
||||
This configuration will generate a `build-info.properties` at the expected location with four additional keys.
|
||||
This configuration will generate a `build-info.properties` at the expected location with three additional keys.
|
||||
|
||||
NOTE: `maven.compiler.source` and `maven.compiler.target` are expected to be regular properties available in the project.
|
||||
They will be interpolated as you would expect.
|
||||
NOTE: `java.version` is expected to be a regular property available in the project.
|
||||
It will be interpolated as you would expect.
|
||||
|
||||
include::goals/build-info.adoc[leveloffset=+1]
|
||||
|
@ -17,8 +17,7 @@
|
||||
<additionalProperties>
|
||||
<encoding.source>UTF-8</encoding.source>
|
||||
<encoding.reporting>UTF-8</encoding.reporting>
|
||||
<java.source>${maven.compiler.source}</java.source>
|
||||
<java.target>${maven.compiler.target}</java.target>
|
||||
<java.version>${java.version}</java.version>
|
||||
</additionalProperties>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
Loading…
Reference in New Issue
Block a user