Original content

Protected by Copyscape Plagiarism Checker

Tuesday, November 8, 2016

Eclipse: Problem with new maven project : Error in pom or during build

When I created a new maven project, I received the following error.

Failure to transfer org.codehaus.plexus:plexus-io:pom:2.0.2 from https://repo.maven.apache.org/maven2

This is not the complete error message. But a part of it.

It looks like the maven plugin in eclipse was not resolving the dependencies. So, I built the newly created maven project using the stand alone maven tool which is not a plugin in eclipse (i.e., from the command prompt using "mvn clean install"). It resolved the dependency without issues. And a refreshing of the project inside eclipse has resolved the error indication in pom file.