Open emakunin opened 5 months ago
@radcortez Is is expected that we cannot share the root prefix in two different packages ? Is it because in we use interface mapping in the extension while quarkus is using class mapping.
You can share them, but I think the issue is something else. Both classes have the same FQN io.quarkus.amazon.lambda.runtime.LambdaBuildTimeConfig
:
https://github.com/quarkusio/quarkus/blob/86ba00e29a9a326afa02a74dd81a8228a5d04c02/extensions/amazon-lambda/runtime/src/main/java/io/quarkus/amazon/lambda/runtime/LambdaBuildTimeConfig.java https://github.com/quarkiverse/quarkus-amazon-services/blob/9377e50a406db11355bf12b32e2bb09aee50f7c8/lambda/runtime/src/main/java/io/quarkus/amazon/lambda/runtime/LambdaBuildTimeConfig.java
It seems there are limited solutions available:
io.quarkiverse
. Historically, "io.quarkus" was utilized when the project was under the umbrella of "quarkus/quarkus." While this change should be seamless, it might pose issues for extensions like S3 and DynamoDB, which offer custom annotations.I would vote for option 2.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
any news?
Hi folks,
Thank you for taking a look at the problem. I apologise for the radio silence.
I've tested the proposed fix, but it seems that there's another issue (unless I do smth. wrong) https://github.com/quarkiverse/quarkus-amazon-services/pull/1267#issuecomment-2231490200
I'm a bit busy atm
@emakunin would you mind provide a repro plz
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
@emakunin @GheorgheGanea Version 3.0.0.alpha1
is out. Could you have a look at it.
Hello,
I'm trying to use
quarkus-amazon-lambda
fromio.quarkiverse .amazonservices
to inject AWS lambda client in a service that usesI tried all available versions of quarkus and quarkiverse and theirs combinations. However it doesn't work. You can try with the version combinations mentioned in https://github.com/quarkiverse/quarkus-amazon-services.
As a result my build fails with
In this commit you added
LambdaBuildTimeConfig
interface that conflicts with theLambdaBuildTimeConfig
class used by io.quarkus. See io quarkus class LambdaBuildTimeConfigI guess the config interface package or the interface name need to be modified. So far a workaround is to not use quarkiverse and inject clients manually.