You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2022/05/08 09:14:02 UTC

[maven-wrapper] branch master updated: [MWRAPPER-39] tag as maven-wrapper instead of maven-wrapper-parent

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-wrapper.git


The following commit(s) were added to refs/heads/master by this push:
     new d1d698a  [MWRAPPER-39] tag as maven-wrapper instead of maven-wrapper-parent
d1d698a is described below

commit d1d698ae23c24c145c9dd7cc003ca1198816832d
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun May 8 11:14:00 2022 +0200

    [MWRAPPER-39] tag as maven-wrapper instead of maven-wrapper-parent
---
 pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pom.xml b/pom.xml
index 73e6430..b9d3d0a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -70,6 +70,18 @@ under the License.
     <module>maven-wrapper-plugin</module>
   </modules>
 
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-release-plugin</artifactId>
+        <configuration>
+          <!-- we prefer tagging as maven-wrapper instead of maven-wrapper-parent -->
+          <tagNameFormat>maven-wrapper-@{project.version}</tagNameFormat>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
   <profiles>
     <profile>
       <id>apache-release</id>