You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gayathri Muralidharan (JIRA)" <ji...@codehaus.org> on 2012/09/10 09:20:21 UTC

[jira] (MRELEASE-794) Maven release plugin with git - Create release branch only for a particular sub-module

Gayathri Muralidharan created MRELEASE-794:
----------------------------------------------

             Summary: Maven release plugin with git - Create release branch only for a particular sub-module
                 Key: MRELEASE-794
                 URL: https://jira.codehaus.org/browse/MRELEASE-794
             Project: Maven 2.x Release Plugin
          Issue Type: New Feature
          Components: scm
    Affects Versions: 2.3.2
         Environment: git
            Reporter: Gayathri Muralidharan
            Priority: Minor


I am trying to use maven release plugin for creating a branch from trunk.

Ex. repository.git/ 
            child1/ 
            child2/

The plugin creates a new branch that contains my entire repository. How can i restrict it to create a branch that contains only child1 ?

Currently the pom.xml connection, developer connection and url are as follows :

<scm>
  <connection>scm:git:ssh://githost/repository.git</connection>
 <developerConnection>scm:git:ssh://githost/repository.git</developerConnection>
  <url>scm:git:ssh://githost/repository.git</url>
  <tag>HEAD</tag>
</scm>

In svn we used to achieve this by using the absolute path to child1 in developerConnection.

Posted the issue here :

http://stackoverflow.com/questions/12280992/maven-release-plugin-with-git-developer-connection


Thanks,
Gayathri

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira