mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '2.3.x'
Closes gh-23148
This commit is contained in:
commit
cc5f2537b1
@ -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]]
|
||||
|
@ -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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user