Skip to content

Commit 038141f

Browse files
committed
maven-release-plugin configuration
1 parent 1d33dce commit 038141f

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

pom.xml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,26 @@
8484
</execution>
8585
</executions>
8686
</plugin>
87-
87+
88+
<plugin>
89+
<artifactId>maven-release-plugin</artifactId>
90+
<version>2.4.2</version>
91+
<configuration>
92+
<autoVersionSubmodules>true</autoVersionSubmodules>
93+
<!-- Keep changes in the local repo, push will be done afterwards -->
94+
<pushChanges>false</pushChanges>
95+
<localCheckout>true</localCheckout>
96+
<!-- Use a better name for the tag -->
97+
<tagNameFormat>${artifactId}-${project.version}</tagNameFormat>
98+
</configuration>
99+
<dependencies>
100+
<dependency>
101+
<groupId>org.apache.maven.scm</groupId>
102+
<artifactId>maven-scm-provider-gitexe</artifactId>
103+
<version>1.9</version>
104+
</dependency>
105+
</dependencies>
106+
</plugin>
88107
</plugins>
89108
</build>
90109

0 commit comments

Comments
 (0)