Closed spyse closed 4 months ago
I can confirm, this is not a local problem. I face the same issue.
EDIT: Seems to be related to https://github.com/spring-projects/spring-boot/issues/39323
Thanks for the hint! I did not find your linked thread until now...
So it is actually a spring boot maven plugin problem and should be fixed soon: According to this response
Yes, please follow up with the Spring Boot team. In the meantime, you can pack build
images and that should be OK.
I am building a spring boot application with spring-boot-maven-plugin which internally used buildpacks. Currently I am trying to add a healtcheck to the image.
Expected Behavior
Health-Checker should correctly be put into the image.
Current Behavior
Getting an error when building the image:
ERROR: failed to initialize detector: open /cnb/buildpacks/paketo-buildpacks_health-checker/1.12.0/buildpack.toml: no such file or directory
Steps to Reproduce
Using a Mac with M2.
The maven configuration looks like this and was copied from this article: [Spring Boot Build Image with Health Check](https://stackoverflow.com/questions/75885269/spring-boot-build-image-with-health-check)
The maven build output:
Any ideas? Rather a local problem or a general?