Skip to content

Commit 8d694cb

Browse files
author
Alex.Sun
committed
add git flow support
1 parent 3393ddc commit 8d694cb

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

pom.xml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,26 @@
9898
</dependencies>
9999

100100
<build>
101-
101+
<pluginManagement>
102+
<plugins>
103+
<plugin>
104+
<groupId>external.atlassian.jgitflow</groupId>
105+
<artifactId>jgitflow-maven-plugin</artifactId>
106+
<version>1.0-m5.1</version>
107+
<configuration>
108+
<flowInitContext>
109+
<masterBranchName>master</masterBranchName>
110+
<developBranchName>dev</developBranchName>
111+
<featureBranchPrefix>feature/</featureBranchPrefix>
112+
<releaseBranchPrefix>release/</releaseBranchPrefix>
113+
<hotfixBranchPrefix>hotfix/</hotfixBranchPrefix>
114+
</flowInitContext>
115+
<allowSnapshots>true</allowSnapshots>
116+
<autoVersionSubmodules>true</autoVersionSubmodules>
117+
</configuration>
118+
</plugin>
119+
</plugins>
120+
</pluginManagement>
102121
<plugins>
103122
<plugin>
104123
<groupId>org.apache.maven.plugins</groupId>
@@ -108,6 +127,10 @@
108127
<target>1.8</target>
109128
</configuration>
110129
</plugin>
130+
<plugin>
131+
<groupId>external.atlassian.jgitflow</groupId>
132+
<artifactId>jgitflow-maven-plugin</artifactId>
133+
</plugin>
111134
</plugins>
112135
</build>
113136

0 commit comments

Comments
 (0)