Merge branch '2.3.x'

Closes gh-23148
This commit is contained in:
Stephane Nicoll 2020-08-31 16:16:16 +02:00
commit cc5f2537b1
2 changed files with 9 additions and 1 deletions

View File

@ -83,6 +83,10 @@ Acceptable values are `ALWAYS`, `NEVER`, and `IF_NOT_PRESENT`.
| `false`
|===
NOTE: The plugin detects the target Java compatibility of the project using the JavaPlugin's `targetCompatibility` property.
By default, the plugin instructs the buildpacks to install the same Java version.
You can override this behaviour by setting the `BP_JVM_VERSION` environment variable, see <<build-image-example-builder-configuration,builder configuration>>.
[[build-image-examples]]

View File

@ -107,7 +107,11 @@ Acceptable values are `ALWAYS`, `NEVER`, and `IF_NOT_PRESENT`.
| `false`
|===
For more details, see <<build-image-examples,examples>>.
NOTE: The plugin detects the target Java compatibility of the project using the compiler's plugin configuration or the `maven.compiler.target` property.
By default, the plugin instructs the buildpacks to install the same Java version.
You can override this behaviour by setting the `BP_JVM_VERSION` environment variable, see <<build-image-example-builder-configuration,builder configuration>>.
For more details, see also <<build-image-examples,examples>>.
include::goals/build-image.adoc[leveloffset=+1]