Bug in maven plugin
Answered
Hi, our project consists of 2 git repositories: core and platform. Platform projects/module are included in core pom.xml using one POM dependency (platform-bom dependency). After upgrading to new version of IDEA we have following problem:
- when platform version is increased then IDEA remembers/caches somehow also older version of platform and new version is not considered at all
We found work-around:
- Unlink Maven Project but don’t remove it from Idea project!
- Select the root pom.xml and click on “Add as Maven Project”
- Wait for refreshing Maven dependencies and check your result in the Maven tool.
Everything works OK in older versions of IDEA. Thank you for the answer.
Best Regards,
Bohuslav
Please sign in to leave a comment.
Did you try Reload Maven project in Maven tool window after changing the version? Does this refresh completes succsesfully or there are errors?
Please try to to enable maven.always.remove.bad.entries option in Registry dialog (use Help | Find Action, type Registry to open the dialog)?
If problem remains could you please provide IDE logs (use Help | Collect Logs and Diagnostic Data action) and if possible a sample project. For uploading you may use https://uploads.services.jetbrains.com or any file sharing service.