-
Notifications
You must be signed in to change notification settings - Fork 77
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
Failed to resolve dependencies #862
Comments
Setting the parameter |
Same problem with |
Hi @philippe-granet ; Appreciate the level of detail in your report. Is there any way to reproduce the problem in a smaller example? Since 14 poms is quite a bit to wrap my head around. Ideally this is reproduced in a unit test. Note that we have mechanisms to reproduce this in unit tests in openrewrite/rewrite in our Assertions classes |
@timtebeek I have reproduce the problem with only 3 simples poms: |
I'm running into this issue as well, I'm a multi-module project, follow this doc :https://docs.openrewrite.org/running-recipes/multi-module-maven |
Do you happen to have any news on this one, by chance? I'm doing a huge tech stack migration, and having this fix would help significantly. 🙏 |
What version of OpenRewrite are you using?
I am using latest maven plugin version v5.40.2
How are you running OpenRewrite?
I am using the Maven plugin in CLI
What is the smallest, simplest way to reproduce the problem?
When I run
mvn dependency:tree
, I see my app depends onorg.jetbrains:annotations:jar:24.1.0:compile
:But when I run openrewrite on my app with this command:
it failed with this error:
MavenDownloadingException: org.jetbrains:annotations failed. No version provided
To reproduce the problem, I create an exemple from my project.
Unzip this (only poms inside): openrewrite-bug.zip
and run these commands:
What did you expect to see?
No errors :-)
What did you see instead?
This error, it can't find version of org.jetbrains:annotations dependency:
What is the full stack trace of any errors you encountered?
The text was updated successfully, but these errors were encountered: