Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
dist/quarkus
Describe the bug
As stated in Quarkus docs[1], when using mutable-jar
(default in Keycloak) the deployment JARs and their dependencies need to be in /lib/deployment
folder. However, in the latest main, they're part of lib/main
alongside runtime dependencies - which is wrong.
Users are able to remove deployment JARs for optimized images by removing the /lib/deployment
folder[2], which is not possible now.
For 26.0.8, JARs are properly located in /lib/deployment
.
Not totally sure what other problems it might bring in terms of Quarkus class loaders, so it should be fixed for the next release.
[1] https://quarkus.io/guides/reaugmentation
[2] https://quarkus.io/guides/reaugmentation#3-optional-delete-the-deployments-folder
Version
main
Regression
- The issue is a regression
Expected behavior
Deployment JARs for Quarkus extensions are in /lib/deployment
folder.
Actual behavior
Deployment JARs for Quarkus extensions are in /lib/main
folder.
How to Reproduce?
- Execute
./mvnw clean install -f quarkus/server/pom.xml
- Check the
quarkus/server/target/lib
folder.
Anything else?
No response