title: Maven: Build only one module out of multi-module project
body: <p>I have a multi-module Maven project wherein I just want to release an update module rather than the entire project. This is due to some specific requirements, wherein a release of entire project is uncalled for - only a subset of the library needs the fixes and thus the release.</p>
  
  <p>However, when I run a <code>mvn release:prepare</code> I get the following error <code>Non-resolvable parent POM</code> - I have setup the parent POM relationship in the module project with <code>relativePath</code> tag but that does not seem to work.</p>
  
  <p>Is it possible to release only a module rather than releasing the entire project.</p>
  
  <p>Thanks in advance.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Parent pom</p>
  
  <pre><code>&lt;groupId&gt;com.domain&lt;/groupId&gt;
  &lt;artifactId&gt;project-parent&lt;/artifactId&gt;
  &lt;version&gt;0.5.1-SNAPSHOT&lt;/version&gt;
  
  &lt;packaging&gt;pom&lt;/packaging&gt;
  
  &lt;modules&gt;
      &lt;module&gt;library1&lt;/module&gt;
      &lt;module&gt;library2&lt;/module&gt;
      &lt;module&gt;library3&lt;/module&gt;
  &lt;/modules&gt;
  </code></pre>
  
  <p>The module POMs are as under:</p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;com.domain&gt;&lt;/groupId&gt;
      &lt;artifactId&gt;project-parent&lt;/artifactId&gt;
      &lt;version&gt;0.5.1-SNAPSHOT&lt;/version&gt;
  &lt;/parent&gt;
  
  &lt;artifactId&gt;library1&lt;/artifactId&gt;
  </code></pre>
  
  <p>Now I just want to release the new version of library1 and not others</p>