title: Gradle cannot find Maven parent dependency with version RELEASE
body: <p>I've got a "project B" with a pom.xml like this:</p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;org.company&lt;/groupId&gt;
      &lt;artifactId&gt;projectA&lt;/artifactId&gt;
      &lt;version&gt;RELEASE&lt;/version&gt;
  &lt;/parent&gt;
  
  &lt;artifactId&gt;projectB&lt;/artifactId&gt;
  &lt;version&gt;0.0.1&lt;/version&gt;
  </code></pre>
  
  <p>where "project B" has "project A" as parent project pom.</p>
  
  <p>I am trying to create a new "project C" using gradle now and if I want to use "project B" as a dependency, I specify build.gradle like this :</p>
  
  <pre><code>repositories {
      maven {
           url "http://mycompany:8081/artifactory/repository"
      }
  }
  
  dependencies {
      compile group: 'org.company', name: 'projectB', version: '0.0.1'
  }
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <blockquote>
    <p>Could not resolve org.company:projectB:0.0.1.</p>
    
    <blockquote>
      <p>Could not parse POM <a href="http://company:8081/artifactory/repository/org/company/projectB/0.0.1/projectB-0.0.1.pom" rel="noreferrer">http://company:8081/artifactory/repository/org/company/projectB/0.0.1/projectB-0.0.1.pom</a></p>
      
      <blockquote>
        <p>Could not find org.company:projectA:RELEASE.</p>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>Appart from setting my projectA version number to an specific one, is there a way to make this build work with gradle? </p>
  
  <p>Is there a way gradle could find the correct version like maven is doing right now? My other maven projects have no problem finding the correct version.</p>
  
  <p>I do not want to get the latests version of project A, maybe downloading the full project B jar would be enough. </p>
  
  <p>P.D I am using gradle version 4.5 and maven version 3.5.2 on my local computer</p>