Skip to content

Commit 5ca7201

Browse files
committed
Fix "Integrating with Actuator" code snippet
Closes gh-36114
1 parent a0a56cb commit 5ca7201

File tree

2 files changed

+4
-5
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs

2 files changed

+4
-5
lines changed

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/build-info.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ It also allows you to add an arbitrary number of additional properties, as shown
99
include::../maven/build-info/pom.xml[tags=build-info]
1010
----
1111

12-
This configuration will generate a `build-info.properties` at the expected location with four additional keys.
12+
This configuration will generate a `build-info.properties` at the expected location with three additional keys.
1313

14-
NOTE: `maven.compiler.source` and `maven.compiler.target` are expected to be regular properties available in the project.
15-
They will be interpolated as you would expect.
14+
NOTE: `java.version` is expected to be a regular property available in the project.
15+
It will be interpolated as you would expect.
1616

1717
include::goals/build-info.adoc[leveloffset=+1]

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/maven/build-info/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
<additionalProperties>
1818
<encoding.source>UTF-8</encoding.source>
1919
<encoding.reporting>UTF-8</encoding.reporting>
20-
<java.source>${maven.compiler.source}</java.source>
21-
<java.target>${maven.compiler.target}</java.target>
20+
<java.version>${java.version}</java.version>
2221
</additionalProperties>
2322
</configuration>
2423
</execution>

0 commit comments

Comments
 (0)