What does it mean when Java Buildpack release notes mentioned "This release contains dependency updates as well as an improvement to the detection criteria for installing java-cfenv"
This release contains dependency updates as well as an improvement to the detection criteria for installing java-cfenv. This will now only install if there is a Spring-Boot-Version manifest entry with a version > 3.
This article discuss more on what these mean.
Resolution
The java-cfenv library is supplied by the Java Buildpack, Once an application is deployed you can see if the java-cfenv library is being installed if you can see log that looks like:
-----> Downloading Java Cf Env 3.1.5 from https://java-buildpack.cloudfoundry.org/java-cfenv/java-cfenv-3.1.5.jar (found in cache)
Beginning version 4.67.0 the java-cfenv will only be installed if it meets the 2 criteria:
the META-INF/MANIFEST.MF contains Spring-Boot-Version: > 3.0.0
jar(s) of the form *spring-boot-x.jar > 3.0.0 are found within the app