Skip to content

Commit

Permalink
Fix "Integrating with Actuator" code snippet
Browse files Browse the repository at this point in the history
Closes gh-36114
  • Loading branch information
mhalbritter committed Oct 27, 2023
1 parent a0a56cb commit 5ca7201
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5ca7201

Please sign in to comment.