Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-794

Maven release plugin with git - Create release branch only for a particular sub-module

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Auto Closed
    • Affects Version/s: 2.3.2
    • Fix Version/s: None
    • Component/s: scm
    • Labels:
      None
    • Environment:
      git

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              muralidh Gayathri.Muralidharan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: