Maven releases plugin with git + developer plugin

I am trying to use the maven release plugin to create a branch from the trunk.

Ex. repository.git / child1 / child2 /

The plugin creates a new branch containing my entire repository. How can I limit it to creating a branch containing only child1?

Currently, the pom.xml connection, the developer connection, and the 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 this using the absolute path to child1 in DeveloperConnection.

Thanks,

Gayatri

+4
source share
1 answer

Releasing a multi-module maven project using Git helps + You need to upgrade version 2.3.2 to version maven-release-plugin version 2.3.2

+6
source

Source: https://habr.com/ru/post/1432470/


All Articles