+
Skip to content

Deployment artifacts for Quarkus extensions are not in deployment dir #36460

@mabartos

Description

@mabartos

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?

  1. Execute ./mvnw clean install -f quarkus/server/pom.xml
  2. Check the quarkus/server/target/lib folder.

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载