Note that there are some explanatory texts on larger screens.

plurals
  1. POmaven use release:branch to branch select modules
    primarykey
    data
    text
    <p>I have a maven multi module project like so </p> <pre><code>modA modB modC modD custom-pom.xml </code></pre> <p>And here the pom </p> <pre class="lang-xml prettyprint-override"><code>&lt;project&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt; &lt;groupId&gt;com.xx.xx.correspondence&lt;/groupId&gt; &lt;artifactId&gt;xxHudsonTP&lt;/artifactId&gt; &lt;version&gt;1&lt;/version&gt; &lt;packaging&gt;pom&lt;/packaging&gt; &lt;modules&gt; &lt;module&gt;modA&lt;/module&gt; &lt;module&gt;modB&lt;/module&gt; &lt;/modules&gt; &lt;/project&gt; </code></pre> <p>Now, when I invoke release:branch with the intent of creating a branch on custom-pom.xml like so </p> <pre><code>mvn release:branch -DbranchName=new-branch -f custom-pom.xml </code></pre> <p>It ends up creating a branch with all 4 modules. </p> <p>Is there any way using release plugin to make sure only selected modules are branched without resorting to branching each module separately.? </p> <p>Any other maven plugins..? </p> <p><strong>Edited</strong> The background of this questions stems from the fact that the svn repo that I am working with has about 20 different modules with 4 different artifacts that they need to generate. I could have easily gone with grouping the modules into sub folders, but since a few modules are common between the artifacts, I didn't think too much into splitting them up. </p> <p>I understand that branching all modules is trivial and probably simple to manage, but the other developers in the team have this feeling of dealing with too much for accomplishing simple tasks like a one line bug fix. Hope that helps. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload