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 34BAD10442 for ; Thu, 27 Feb 2014 08:55:29 +0000 (UTC) Received: (qmail 47101 invoked by uid 500); 27 Feb 2014 08:55:27 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 47059 invoked by uid 500); 27 Feb 2014 08:55:27 -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 47042 invoked by uid 99); 27 Feb 2014 08:55:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2014 08:55:26 +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 [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2014 08:55:20 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id D37A4B066A for ; Thu, 27 Feb 2014 02:54:59 -0600 (CST) Date: Thu, 27 Feb 2014 02:54:59 -0600 (CST) From: "Adrien Lecharpentier (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MRELEASE-867) The release:prepare doesn't commit pom.xml changes 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/MRELEASE-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrien Lecharpentier updated MRELEASE-867: ------------------------------------------ Description: Hi, the plugin seems not to commit the changes to the pom when upgrading the version. At first I thought it was the same issue than http://jira.codehaus.org/browse/MRELEASE-830 but in my log, I clearly see that the plugin doesn't commit the files: {code} [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git add -- pom.xml [INFO] Working directory: /Users/adrien/***/***-jira [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git status [INFO] Working directory: /Users/adrien/***/***-jira [INFO] Tagging release with the label ***-1.0.2... [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git tag -F /var/folders/z9/chxs95dn61j18jrs0nb18c540000gn/T/maven-scm-1442291122.commit ***-1.0.2 [INFO] Working directory: /Users/adrien/***/*** [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git push git@github.com:Zenika/codesonar-plugin.git ***-1.0.2 [INFO] Working directory: /Users/adrien/***/***-jira [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git ls-files [INFO] Working directory: /Users/adrien/***/***-jira [INFO] Transforming 'Jenkins CodeSonar Plugin'... [INFO] Not removing release POMs [INFO] Checking in modified POMs... [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git add -- pom.xml [INFO] Working directory: /Users/adrien/***/***-jira [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git status [INFO] Working directory: /Users/adrien/***/***-jira [INFO] Release preparation complete. {code} First, it add the pom, then do a tag and finally push it. The staged pom is never commit. Which is strange is that the "git status" should tell the plugin that there is a "uncommited changed". Thanks. was: Hi, the plugin seems not to commit the changes to the pom when upgrading the version. At first I thought it was the same issue than http://jira.codehaus.org/browse/MRELEASE-830 but in my log, I clearly see that the plugin doesn't commit the files: {code} [INFO] Executing: /bin/sh -c cd /Users/adrien/projects/zenika/codesonar-jira && git add -- pom.xml [INFO] Working directory: /Users/adrien/projects/zenika/codesonar-jira [INFO] Executing: /bin/sh -c cd /Users/adrien/projects/zenika/codesonar-jira && git status [INFO] Working directory: /Users/adrien/projects/zenika/codesonar-jira [INFO] Tagging release with the label codesonar-1.0.2... [INFO] Executing: /bin/sh -c cd /Users/adrien/projects/zenika/codesonar-jira && git tag -F /var/folders/z9/chxs95dn61j18jrs0nb18c540000gn/T/maven-scm-1442291122.commit codesonar-1.0.2 [INFO] Working directory: /Users/adrien/projects/zenika/codesonar-jira [INFO] Executing: /bin/sh -c cd /Users/adrien/projects/zenika/codesonar-jira && git push git@github.com:Zenika/codesonar-plugin.git codesonar-1.0.2 [INFO] Working directory: /Users/adrien/projects/zenika/codesonar-jira [INFO] Executing: /bin/sh -c cd /Users/adrien/projects/zenika/codesonar-jira && git ls-files [INFO] Working directory: /Users/adrien/projects/zenika/codesonar-jira [INFO] Transforming 'Jenkins CodeSonar Plugin'... [INFO] Not removing release POMs [INFO] Checking in modified POMs... [INFO] Executing: /bin/sh -c cd /Users/adrien/projects/zenika/codesonar-jira && git add -- pom.xml [INFO] Working directory: /Users/adrien/projects/zenika/codesonar-jira [INFO] Executing: /bin/sh -c cd /Users/adrien/projects/zenika/codesonar-jira && git status [INFO] Working directory: /Users/adrien/projects/zenika/codesonar-jira [INFO] Release preparation complete. {code} First, it add the pom, then do a tag and finally push it. The staged pom is never commit. Which is strange is that the "git status" should tell the plugin that there is a "uncommited changed". Thanks. > The release:prepare doesn't commit pom.xml changes > -------------------------------------------------- > > Key: MRELEASE-867 > URL: https://jira.codehaus.org/browse/MRELEASE-867 > Project: Maven Release Plugin > Issue Type: Bug > Components: Git > Affects Versions: 2.4.2 > Environment: Mac, maven-3.2.1, git-1.9.0 > Reporter: Adrien Lecharpentier > > Hi, > the plugin seems not to commit the changes to the pom when upgrading the version. At first I thought it was the same issue than http://jira.codehaus.org/browse/MRELEASE-830 but in my log, I clearly see that the plugin doesn't commit the files: > {code} > [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git add -- pom.xml > [INFO] Working directory: /Users/adrien/***/***-jira > [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git status > [INFO] Working directory: /Users/adrien/***/***-jira > [INFO] Tagging release with the label ***-1.0.2... > [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git tag -F /var/folders/z9/chxs95dn61j18jrs0nb18c540000gn/T/maven-scm-1442291122.commit ***-1.0.2 > [INFO] Working directory: /Users/adrien/***/*** > [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git push git@github.com:Zenika/codesonar-plugin.git ***-1.0.2 > [INFO] Working directory: /Users/adrien/***/***-jira > [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git ls-files > [INFO] Working directory: /Users/adrien/***/***-jira > [INFO] Transforming 'Jenkins CodeSonar Plugin'... > [INFO] Not removing release POMs > [INFO] Checking in modified POMs... > [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git add -- pom.xml > [INFO] Working directory: /Users/adrien/***/***-jira > [INFO] Executing: /bin/sh -c cd /Users/adrien/***/***-jira && git status > [INFO] Working directory: /Users/adrien/***/***-jira > [INFO] Release preparation complete. > {code} > First, it add the pom, then do a tag and finally push it. The staged pom is never commit. Which is strange is that the "git status" should tell the plugin that there is a "uncommited changed". > Thanks. -- This message was sent by Atlassian JIRA (v6.1.6#6162)