Repository navigation
[Quarkus 4] Restore required Quarkus build dependencies - #54614
Conversation
|
@Pepo48 do these build dependencies end up in the distribution? If so we need an upstream issue on excluding them like quarkusio/quarkus#47210 Tried to answer the above. It looks like in 4.0 without these exclusions, the following end up in the distribution: quarkus-devservices-common and quarkus-devservices-deployment Already in main related to devservices we have: lib/deployment/quarkus-devservices-datasource-common So I'm not sure that we want to proceed with this change as is - at least until some kind of follow-up is created. |
Closes: keycloak#54613 Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
|
@shawkins correct, those entries account for about 17.5 MB of the compressed ZIP. I'm aware of quarkusio/quarkus#55376, which explicitly covers |
Right, I should have referenced that - I'll expand it based upon this issue. Until that is worked, should the be exclusions for the transitive dependencies? |
|
This would be a release blocker, those dependencies are not productized etc. Can't we find some workaround in case quarkusio/quarkus#55376 is not resolved in time? |
|
@vmuzikar what we could try is to keep the required Quarkus modules and excluding only their transitive container libraries. What I'm concerned about is that Quarkus uses reflection to discover build steps and some Dev Services method signatures reference container classes even when Dev Services is disabled. So we would need to be careful, because removing those libraries could therefore break the build. Edit: I went ahead and quickly tested this. The baseline passed the distribution build, kc.sh build, provider installation and startup. Exclusions failed though during augmentation on missing Docker Java classes and excluding Testcontainers alone also failed during reflective build-step discovery. Based on that I guess we would need a Quarkus-side fix (with #48839 as a possible precedent?). |
Closes: #54613