Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8EC6E10E67 for ; Fri, 24 Jan 2014 16:54:15 +0000 (UTC) Received: (qmail 11339 invoked by uid 500); 24 Jan 2014 16:54:14 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 11254 invoked by uid 500); 24 Jan 2014 16:54:14 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 11244 invoked by uid 99); 24 Jan 2014 16:54:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jan 2014 16:54:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jan 2014 16:54:10 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id DB854B10F0 for ; Fri, 24 Jan 2014 10:53:49 -0600 (CST) Date: Fri, 24 Jan 2014 10:53:49 -0600 (CST) From: "Robert Scholte (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (SCM-740) Maven Release Plugin releases SNAPSHOT instead of STABLE version MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/SCM-740?page=3Dcom.atlassian.jira.pl= ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D339998#comme= nt-339998 ]=20 Robert Scholte commented on SCM-740: ------------------------------------ Would be nice if this could be confirmed with a unittest. =20 > Maven Release Plugin releases SNAPSHOT instead of STABLE version > ---------------------------------------------------------------- > > Key: SCM-740 > URL: https://jira.codehaus.org/browse/SCM-740 > Project: Maven SCM > Issue Type: Bug > Components: maven-scm-provider-git > Environment: Everywhere with maven-scm-provider-gitexe of version= 1.9 (and maybe older) > Reporter: Jan Novotn=FD > Attachments: Wrong_base_directory_used.patch > > > If you have following project structure: > - superproject [Git repository root] > - projectA [release target] > - projectB [release target] > in other words you release subproject of a larger Git repository separate= ly, you probably run at the same issue as we did. No recipe from above ment= ioned sources solves your problems and during release:prepare phase still n= o commit of stable pom.xml occurs. There is another bug in GitStatusConsume= r class that checks output of the git status --porcelain command and verifi= es existency of the mentioned files on local filesystem. Regretfully it use= s working directory instead of git repository root as the base folder and t= hus it constructs invalid path to the file where project folder directory i= s duplicated. > Problem is better described here: http://blog.novoj.net/2014/01/24/maven-= release-plugin-releases-snapshot-instead-of-stable-version -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira