Error resolving version for plugin 'org.apache.maven.plugins:maven-jar-plugin' from the repositories ,Plugin not found in any plugin repository
<p>I am trying to Maven build my Java project but it is getting failed and i am getting below error:</p>

<p>Error resolving version for plugin 'org.apache.maven.plugins:maven-jar-plugin' from the repositories [local (C:\Users\Vinita.Gupta.m2\repository), central (<a href="https://repo.maven.apache.org/maven2)]" rel="noreferrer">https://repo.maven.apache.org/maven2)]</a>: Plugin not found in any plugin repository -> [Help 1]</p>

<p>I am trying to build the project in Eclipse Neon and have installed and setup Maven path,m2connector for Eclipse.</p>

<p>Note: I am not connected to network using any proxy
Most of the solutions which i have found online were having issues due to proxy settings but i am directly connected to network and able to browse below directory via browser but couldn't connect through Maven:
<a href="https://repo.maven.apache.org/maven2" rel="noreferrer">https://repo.maven.apache.org/maven2</a></p>

<p>Please help !!</p>