Merge branch '3.1.x'

Closes gh-38078
This commit is contained in:
Moritz Halbritter 2023-10-27 13:47:23 +02:00
commit f66c76e2a8
2 changed files with 4 additions and 5 deletions

View File

@ -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]

View File

@ -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>