How do I update the versions of maven plugins used by an Intellij maven project?
Answered
A maven project includes a number of plugins by default eg. clean, compiler, install, war etc. The versions are out of date . eg. war is version 2.2 (Jan, 2012). Latest version is 3.1.
How do I update these plugins? Is there a config file somewhere?
There is a plugin update option in the settings dialog but this is ignored by Maven 3+. I am using 3.5.
Please sign in to leave a comment.
Specify the versions you want to use in pom.xml and reimport the Maven project.
Thanks! Is there a "base" pom.xml that the IDE uses? So versions can be set for IDE not by project?
I don't think there is any base pom.xml. IDE will use the same effective pom.xml as your command line Maven.
For any one stumbling across this you need to add this to:
I did not need to reimport project it updated automatically.