From c0131f4de45002eac2762305717eea79bb73b46a Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Wed, 22 Jun 2005 21:06:32 +0000 Subject: [PATCH] Use basedir as working directory for tag git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@192996 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/plugin/release/PrepareReleaseMojo.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java b/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java index a760d00287..de1a37a757 100644 --- a/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java +++ b/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugin/release/PrepareReleaseMojo.java @@ -550,6 +550,8 @@ public class PrepareReleaseMojo { ScmBean scm = getScm(); + scm.setWorkingDirectory( basedir ); + scm.setTag( tag ); getLog().info( "Tagging release with the label " + tag + "." );