title: maven - Can't release project due to non released dependencies
body: <p>I am using a multi-module pom setup and when using the release plugin I am unable to do so.
  I get the error: </p>
  
  <pre><code>Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:prepare (default-cli) on project libraryparent: Can't release project due to non released dependencies :
  com.xyz:libraryparent:pom:1.1-SNAPSHOT
  in project 'utils' (com.xyz:utils:jar:1.1-SNAPSHOT)
  </code></pre>
  
  <p>the command I runs is: </p>
  
  <pre><code>mvn -B release:clean release:prepare release:perform -DdryRun=true -DdevelopmentVersion=1.2-SNAPSHOT -DreleaseVersion=1.1
  </code></pre>
  
  <p>Here is the major portions of the files that I think is relevant:</p>
  
  <h2>libraryparent</h2>
  
  <pre><code>&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;com.xyz&lt;/groupId&gt;
    &lt;artifactId&gt;libraryparent&lt;/artifactId&gt;
    &lt;version&gt;1.1-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;pom&lt;/packaging&gt;
  
    &lt;name&gt;parent library&lt;/name&gt;
    &lt;description&gt;A parent pom for all library modules&lt;/description&gt;
  
      &lt;modules&gt;
          &lt;module&gt;../util&lt;/module&gt;
          &lt;module&gt;../streams&lt;/module&gt;
      &lt;/modules&gt;
  
    &lt;plugin&gt;
          &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.5&lt;/version&gt;
          &lt;configuration&gt;
              &lt;releaseProfiles&gt;release&lt;/releaseProfiles&gt;
              &lt;goals&gt;deploy assembly:single&lt;/goals&gt;
              &lt;!--
              &lt;autoVersionSubmodules&gt;true&lt;/autoVersionSubmodules&gt;
              --&gt;
          &lt;/configuration&gt;
      &lt;/plugin&gt;
  </code></pre>
  
  <h2>util</h2>
  
  <pre><code>&lt;project .....&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;artifactId&gt;util&lt;/artifactId&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;com.xyz&lt;/groupId&gt; 
          &lt;artifactId&gt;libraryparent&lt;/artifactId&gt; 
          &lt;relativePath&gt;../libraryparent/pom.xml&lt;/relativePath&gt;
          &lt;version&gt;1.1-SNAPSHOT&lt;/version&gt; 
      &lt;/parent&gt;
  &lt;/project&gt;
  </code></pre>
  
  <h2>streams</h2>
  
  <pre><code>&lt;project .....&gt;
  
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;artifactId&gt;streams&lt;/artifactId&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;com.xyz&lt;/groupId&gt;
          &lt;artifactId&gt;libraryparent&lt;/artifactId&gt; 
          &lt;relativePath&gt;../libraryparent/pom.xml&lt;/relativePath&gt;
          &lt;version&gt;1.1-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;dependencies&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.xyz&lt;/groupId&gt;
              &lt;artifactId&gt;util&lt;/artifactId&gt;
              &lt;version&gt;1.1-SNAPSHOT&lt;/version&gt;
              &lt;!--
              &lt;version&gt;${project.parent.version}&lt;/version&gt;
              --&gt;
              &lt;classifier&gt;j2me&lt;/classifier&gt;
              &lt;optional&gt;true&lt;/optional&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>I would suspect that the release plugin can set the versions to their release versions,etc.</p>
  
  <p>Thanks.</p>