I have an Idea project which is based on Maven Project. Maven project has some dependencies which in turn have versions. The verions may change.
I.e. yesterday my project has dependency named "common.artefacts" with version 10.2, and now it has version 10.3.
The questions is: how can I removed the unused now libraries from my project? By project I mean the Idea project and specially the External Libraries list on the left side of my screen. Its not about Maven dependencies because they are updated by Maven.
This problem emerges when I run debug - the old classes are used by debugger: i.e. I have 10.3 version now, but the debugger finds 10.2 version's class because that class is stil in External Libraries list of my Idea Project. I tried to force debugger searching in some folder, but it still runs through the class with wrong version.
Looks like I need to remove some old dependencies from my Idea project. How can I do it? Can Idea make it automatically after Maven POM changes?