An internal error occurred during: "Updating Maven Dependencies"

After closing Eclipse I removed all versions from ~/.m2/repository/org/codehaus/plexus/plexus-archiver except for the latest.

During the subsequent Eclipse startup another artifact causing an error was Maven Archiver, so I deleted old versions from ~/.m2/repository/org/apache/maven/maven-archiver as well.

After another Eclipse restart I performed Maven -> Update Project. All was well after that.


Steps below worked for me to resovle the issue(Add the following in pom.xml)

<plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>2.4</version>
 </plugin>

Reimport the project again in Eclipse/STS.

The plugin configuration is taken from the maven site below: http://maven.apache.org/plugins/maven-jar-plugin/plugin-info.html


The answer from user2125483 did not work for me. I tried selectively removing org.maven and org.codehaus.plexus package subdirectories of my local Maven repository (~/.m2) without any change in the error message. I needed to nuke my entire local Maven repository and rebuild from nothing for this error to vanish.