-
Notifications
You must be signed in to change notification settings - Fork 117
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
Cannot invoke "org.apache.maven.artifact.versioning.VersionRange.getRecommendedVersion()" because "vr" is null #1103
Comments
Can you provide minimal steps to reproduce? |
after upgrade m2e 2.1.1,Looks like occured in multiple project: |
This is probably a Regression from #981. My guess at the phone is that you have the enforcer-plugin configured but without a required I can provider a patch this this evening. |
Hi!
|
you're right,I have enforcer-plugin,but without |
Thanks, Looks as expected Probably a simple null check before
@wsw186 would you bei interesesed to provide a PR to fix this? If not, I can do it. |
After reading CONTRIBUTING.md, I have no 'Eclipse Foundation account' yet and am not familiar with the process, Maybe you can do it first. @HannesWell 😅 |
Fixes eclipse-m2e#1103 And rename JavaConfigurationFromEnforcer to JavaConfigurationFromEnforcerTest to enable it in the CI.
Fixes eclipse-m2e#1103 And rename JavaConfigurationFromEnforcer to JavaConfigurationFromEnforcerTest to enable it in the CI.
I was able to reproduce the issue as expected and created #1105 to fix it and add a test-case to ensure it won't happen again in the future.
No problem. This initial legal process indeed takes a few minutes but after you have created a Eclipse Foundation account and signed the ECA everything else should be relatively simple given you are familiar with Eclipse and Github. The Oomph setup should completely automate the setup of you m2e workspace and after it has succeeded you should be ready to code. Push the changes to your m2e-fork and create a PR from that. I now did this because I want to have this fixed soon to create a bug-fix release this evening, but in general we welcome quality contributes very much and if you are interested I recommend you to start with small changes to get familiar with the process. :) |
sts4 4.16.1
Unable to update Maven configuration
Could not update project ##{{project.name}}## configuration
Cannot invoke "org.apache.maven.artifact.versioning.VersionRange.getRecommendedVersion()" because "vr" is null
The text was updated successfully, but these errors were encountered: