cloudfoundry / java-buildpack

Cloud Foundry buildpack for running Java applications
Apache License 2.0
433 stars 2.59k forks source link

Improvement to condition to trigger java-cfenv framework #1056

Closed pivotal-david-osullivan closed 4 months ago

pivotal-david-osullivan commented 4 months ago

This PR changes the condition that checks when to contribute the Java CFEnv framework for Boot 3 apps. Previously, the condition checks for Spring Boot 3 using either the Manifest entry Spring-Boot-Version or presence of spring-boot-<version>.jar files.

This change ensures only the presence of the Manifest entry with a version > 3 is used to determine whether the app is a Spring Boot 3 app.

anthonydahanne commented 4 months ago

LGTM