-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.7.1 regression: No versions available for org.mvnpm.at.lit-labs:ssr-dom-shim:jar:[1.2.0,2) within specified range #38510
Comments
/cc @phillip-kruger (mvnpm) |
Same issue observed in Camel Quarkus. |
I saw this in Quarkus LangChain4j CI as well which is on Quarkus |
Keycloak is affected as well with Quarkus 3.7.0.CR1 |
I see this with Quarkus Operator SDK as well with 3.7.1, I didn't have any problems with 3.7.0, though. |
Weird thing is 3.7.0.CR1 worked for us yesterday. Something must've changed retrospectively in mvn repo? |
That's the problem with using Maven ranges... Mvnpm might have pushed a component that requires a new version of something that is not pushed... |
I will reintroduce the versions in the BOM for now and try to make sure versions are OK and Dev UI works, we can discuss this when Phillip is back from PTO. Not exactly how my day was planned :) Thanks for the report, all! |
@gsmet Thanks! The fix will require a new release, I assume. So it'll be part of 3.7.2? |
So:
Yes, we will have to publish a new version. |
Update: Clément was able to trigger the build of the missing pieces and it's now possible to build things. You don't need any workaround anymore and we won't publish a new version (for now). That doesn't fix the problem in the long run though so let's keep this issue open as we need to fix this one once and for all so that it never happens again. |
Quickstarts job also failed because of this issue - https://github.com/quarkusio/quarkus-quickstarts/actions/runs/7735235938/job/21090556678 |
Lots of Quarkus related things that run in CI overnight failed. |
Thanks for taking care @gsmet! Does anybody know whether we or somebody else discussed this with Vaadin? Maybe they just do not know how painful the version ranges are for their end users? |
@ppalaga version ranges is commonly used in npm.js land because there they have default tooling that locks versions - so things don't get automatically picked up. So I don't think there is any point going to vaadin to plead when its because we missed to actually lock the versions in our builds. That said - we were supposed to have our versions locked and its bit of a mystery what happened - we'll see what phiillips recalls when he is back on Monday. |
Interesting standpoint. I am not quite sure the conventions and tooling working in a certain way in nmp should imply that it is a good idea to use ranges with Maven. For me Maven always was like "Transitives chosen by a project should work OOTB and I can optionally choose to manage them at different versions if I care for some reason". Here, apparently, the transitives do not work OOTB and we must manage. That does not sound right for Maven. |
Trust me - We have solutions for it. It's just we did not apply If we applied it at mvnpm level we would not be able to have working js stack without making up intermediary imaginary releases whenever a dependency is released in npmjs land. Version ranges are not bad on their own. |
Oh, now I see what mvnpm actually is. So to avoid missing the packages in Maven Central, projects may choose to add https://repo.mvnpm.org/maven2 repository where the packages can be pulled/transformed from npm on the fly. Sorry for my ignorance. |
Yeah. But that's just for dev/updating. Not something to add permanently. |
OK, then at least up to the point when Quarkus fixes the dependecy management ;) |
Hi all. First of all, apologies that this happened. I had a look at what caused it, and it was really "A Series of Unfortunate Events" :
In general, I let vaadin "drive" the version of lit we use (as vaadin also use lit) so once I get a dependabot for a lit upgrade, I wait for a new vaadin version that also use the new lit before I update our version. I also then check all locks. I hope this makes sense ? I'll do a update on the mvnpm libs to get everything up to date. |
( I think we can close this now ?) |
Thanks for the analysis @phillip-kruger ! |
Describe the bug
After upgrading to Quarkus 3.7.1, we get the following error from
quarkus-maven-plugin:generate-code-tests
mojo:Not sure what changed in the way how the codegen mojo resolves the dependencies, or in the dependencies themselves since 3.7.0.
Anyway, I wonder, why you @phillip-kruger moved the Vaadin stuff from the BOM? It all works good like that within Quarkus build tree because all is managed via build parent, but for end user apps and Quarkiverse testing the dependencies are much less deterministic and all the worms related to Vaadin using version ranges are coming out.
Expected behavior
The code generation should work
Actual behavior
The code generation fails
How to Reproduce?
Checkout quarkiverse/quarkus-cxf#1218 and build the
integration-tests/wsdl2java
The text was updated successfully, but these errors were encountered: