ERROR - Unable to find resource in repository central (http://repo1.maven.org/maven2) upon Maven Install

Error

Unable to find resource in repository central (http://repo1.maven.org/maven2) while running Maven Install.

Cause

Maven couldn't find the resource in the Maven central repository.

Analysis

Maven first try to look for resource in the repositories configured in settings.xml ( local or remote repositories ). Once it's unable to find the resource in those repositories , it makes an attempt to look for it in the Maven Central Repository.

Possible Resolution

Identify the repository that should hold the respective resource.

If it should be within the local repository, please make sure that the resource exists in the local repository. Check your .m2/repository home. and the local repository has been configured properly ( settings.xml )

If it should be within some other remote repository, make sure that the repository has been configured properly in the settings.xml either in your MAVEN_HOME or .m2