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 6A6351041E for ; Sun, 2 Jun 2013 09:50:31 +0000 (UTC) Received: (qmail 9035 invoked by uid 500); 2 Jun 2013 09:50:31 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 8992 invoked by uid 500); 2 Jun 2013 09:50:30 -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 8984 invoked by uid 99); 2 Jun 2013 09:50:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jun 2013 09:50:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jun 2013 09:50:24 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 42EDFB0741 for ; Sun, 2 Jun 2013 04:50:03 -0500 (CDT) Date: Sun, 2 Jun 2013 04:50:03 -0500 (CDT) From: "Christoph Kutzinski (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (SCM-686) Maven SCM failed to parse "git status" output if git messages are translated MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/SCM-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=326093#comment-326093 ] Christoph Kutzinski commented on SCM-686: ----------------------------------------- BTW: I've tried to use it via maven-release-plugin 2.4.1 org.apache.maven.scm maven-scm-api 1.8.1 compile and still run into this issue. > Maven SCM failed to parse "git status" output if git messages are translated > ---------------------------------------------------------------------------- > > Key: SCM-686 > URL: https://jira.codehaus.org/browse/SCM-686 > Project: Maven SCM > Issue Type: Bug > Components: maven-scm-provider-git > Affects Versions: 1.7 > Environment: Ubuntu Linux 11.10, Maven-3.0.4 > Reporter: Ralf Thielow > Assignee: Olivier Lamy > Priority: Critical > Fix For: 1.8 > > Attachments: git-status-use-porcelain-option.diff > > > Maven SCM failed to parse "git status" output if git messages are > translated. This breaks at least maven-release plugin. > The issue is that GitStatusConsumer uses regular expressions to > parse the output of "git status" and these regexps don't match > anymore if git messages are translated. In order to avoid this, we > should use the "--porcelain" option on "git status" to produce > a machine readable output which can be parsed even if git messages > are translated. > I've attached a patch which solves the problem. > Ralf -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira