From issues-return-147433-archive-asf-public=cust-asf.ponee.io@maven.apache.org Tue Apr 2 15:34:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CDC8E180672 for ; Tue, 2 Apr 2019 17:34:01 +0200 (CEST) Received: (qmail 53383 invoked by uid 500); 2 Apr 2019 15:34:00 -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 53312 invoked by uid 99); 2 Apr 2019 15:34:00 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Apr 2019 15:34:00 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6A029E0F23 for ; Tue, 2 Apr 2019 15:34:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1780224422 for ; Tue, 2 Apr 2019 15:34:00 +0000 (UTC) Date: Tue, 2 Apr 2019 15:34:00 +0000 (UTC) From: "Steinar Bang (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MRELEASE-1021) release:prepare and release:update-version sets line endings to crlf for all lines except the first and last lines of the pom.xml files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MRELEASE-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807863#comment-16807863 ] Steinar Bang commented on MRELEASE-1021: ---------------------------------------- [~michael-o] I'm OK with closing it, perhaps with a "Fixed in 3.6.0"? > release:prepare and release:update-version sets line endings to crlf for all lines except the first and last lines of the pom.xml files > --------------------------------------------------------------------------------------------------------------------------------------- > > Key: MRELEASE-1021 > URL: https://issues.apache.org/jira/browse/MRELEASE-1021 > Project: Maven Release Plugin > Issue Type: Bug > Components: prepare, update-versions > Affects Versions: 2.5.3 > Environment: debian 9.8 "stretch", amd64, openjdk 8u212-b01-1~deb9u1, maven 3.3.9-4 > Reporter: Steinar Bang > Priority: Major > Fix For: waiting-for-feedback > > > For these two projects > * https://github.com/steinarb/authservice > * https://github.com/steinarb/osgi-service > line endings in the pom.xml files are messed up when I do > {noformat} > mvn release:prepare > {noformat} > or bump versions with e.g. > {noformat} > mvn --batch-mode release:update-versions -DdevelopmentVersion=1.0.2-SNAPSHOT > {noformat} > What happens to the line endings are: > # First line stays at lf > # Last line stays at lf > # All of the intervening lines get crlf > # The line endings were initially lf (at least they were meant to be) > # I run the "mvn release:prepare" and "mvn:update-version" commands from a command line on Debian GNU/linux -- This message was sent by Atlassian JIRA (v7.6.3#76005)