Skip to content

java-cfenv jar 4.0.0 needed for Spring Boot 4 projects #1222

@stokpop

Description

@stokpop

In Golang based Java buildpack version 5.0.1 the java-cfenv jar 3.5.0 gets installed:

    Installing framework: Java CF Env
   -----> Installing Java CF Env
   -----> Installing java-cfenv 3.5.0
   Copy [/tmp/buildpacks/9d45f61e0b99b81a/dependencies/16e24c964bf89e88e7893df74dfa044d/java-cfenv-3.5.0.jar]
   Installed Java CF Env version 3.5.0

Note that the Ruby Java buildpack included java-cfenv jar 3.5.1: should also be updated?

Can we have java-cfenv jar 4.0.0 added to the buildpack?

Can the buildpack determine if Spring Boot 4 or Spring Framework 7 is used and then include java-cfenv jar 4.0.0?
(assuming java-cfenv 3.5.1 does not work with these newer Spring versions)

I noticed there is a isSpringBoot3 function in java_cf_env.go, so probably a isSpringBoot4 can be added for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions