title: Non-resolvable parent POM exception thrown while running maven project
body: <p>I'm new to Jenkins plugin development,and trying to create a Jenkins plugin by using maven project, and using eclipse as IDE.</p>
  
  <p>The below is pom.xml file structure:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;parent&gt;
          &lt;groupId&gt;org.jenkins-ci.plugins&lt;/groupId&gt;
          &lt;artifactId&gt;plugin&lt;/artifactId&gt;
          &lt;version&gt;3.4&lt;/version&gt;
          &lt;relativePath /&gt;
      &lt;/parent&gt;
      &lt;groupId&gt;io.jenkins.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;JenkinPluginDev&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;packaging&gt;hpi&lt;/packaging&gt;
      &lt;properties&gt;
          &lt;jenkins.version&gt;2.7.3&lt;/jenkins.version&gt;
          &lt;java.level&gt;7&lt;/java.level&gt;
      &lt;/properties&gt;
      &lt;name&gt;TODO Plugin&lt;/name&gt;
      &lt;description&gt;TODO&lt;/description&gt;
      &lt;licenses&gt;
          &lt;license&gt;
              &lt;name&gt;MIT License&lt;/name&gt;
              &lt;url&gt;https://opensource.org/licenses/MIT&lt;/url&gt;
          &lt;/license&gt;
      &lt;/licenses&gt;
      &lt;!-- Assuming you want to host on @jenkinsci:
      &lt;url&gt;https://wiki.jenkins.io/display/JENKINS/TODO+Plugin&lt;/url&gt;
      &lt;scm&gt;
          &lt;connection&gt;scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git&lt;/connection&gt;
          &lt;developerConnection&gt;scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git&lt;/developerConnection&gt;
          &lt;url&gt;https://github.com/jenkinsci/${project.artifactId}-plugin&lt;/url&gt;
      &lt;/scm&gt;
      --&gt;
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;repo.jenkins-ci.org&lt;/id&gt;
              &lt;url&gt;https://repo.jenkins-ci.org/public/&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
      &lt;pluginRepositories&gt;
          &lt;pluginRepository&gt;
              &lt;id&gt;repo.jenkins-ci.org&lt;/id&gt;
              &lt;url&gt;https://repo.jenkins-ci.org/public/&lt;/url&gt;
          &lt;/pluginRepository&gt;
      &lt;/pluginRepositories&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>And the maven project had some error in POM.xml file near to "Parent" tag.</p>
  
  <p>I tried to run the maven goal to resolve the issue but its failed to   build and observed below error message in console.</p>
  
  <blockquote>
    <p>Downloading:
    <a href="https://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/plugin/3.4/plugin-3.4.pom" rel="nofollow noreferrer">https://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/plugin/3.4/plugin-3.4.pom</a>
    [ERROR] The build could not read 1 project -> [Help 1] [ERROR]   </p>
    
    <p>[ERROR]   The project io.jenkins.plugins:JenkinPluginDev:1.0</p>
    
    <p>(C:\jenkinPluginDevelopment\JenkinPluginDev\pom.xml) has 1 error</p>
    
    <p>[ERROR]     Non-resolvable parent POM: Could not transfer artifact
    org.jenkins-ci.plugins:plugin:pom:3.4 from/to repo.jenkins-ci.org
    (<a href="https://repo.jenkins-ci.org/public/" rel="nofollow noreferrer">https://repo.jenkins-ci.org/public/</a>): peer not authenticated and
    'parent.relativePath' points at no local POM @ line 4, column 13 ->
    [Help 2] </p>
    
    <p>[ERROR]  [ERROR] To see the full stack trace of the errors,
    re-run Maven with the -e switch. </p>
    
    <p>[ERROR] Re-run Maven using the -X
    switch to enable full debug logging.    </p>
    
    <p>[ERROR]  [ERROR] For more information about the errors and possible solutions, >please read the following articles: </p>
    
    <p>[ERROR] [Help 1]
    <a href="http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException" rel="nofollow noreferrer">http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException</a>
    [ERROR] [Help 2]
    <a href="http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException" rel="nofollow noreferrer">http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException</a></p>
  </blockquote>
  
  <p>Any leads...</p>