Enquiry on Reimporting Maven Dependency
Answered
Hi team,
It seems the maven reimport function of IDEA does not remove a replaced dependency version.
For example, if we import 1.0.1, import it in IDEA and then change it to 1.0.2 and reimport it, we'll find both of them are in the dependency list of this project. When we run the project or check the source code, there might be some troubles because of it.
Currently, the only way we found to solve it is to delete all .iml file and reload the project. May we know is there some other methods which are more decent to address the problem?
Kind Regards,
Aaron
Please sign in to leave a comment.
This problem will be fixed in 2021.1 version update: https://youtrack.jetbrains.com/issue/IDEA-255594