Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Maven support hanging onto old library versions

$
0
0

I keep having to manually clean up the module libraries dependencies for our maven project. Why does IDEA keep hanging onto old references for libraries that have been replaced by new revisions of the dependencies in new revisions of the pom.xml?

 

I keep getting the list of errors grow and have to manually prune the conflicts every few days. I've tried reimporting the project (maven context menu), clearing all caches & restarting. Closing & opening the project and re-resolving the pom with: mvn clean dependency:resolve -U but nothing seems to correct these old references. See attached screenshot, notice the multiple versions of certain libs only one version (the latest) should ever be present?

 

Capture.PNG

 

Using IDEA 13.1.1 on CentOS 6, locally have Maven 3.0.3 on the command line and a custom local repo location (if those make any diference).


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>