Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AF5B0200497 for ; Wed, 23 Aug 2017 11:49:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ABE4B1688C0; Wed, 23 Aug 2017 09:49:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F15DB1688BD for ; Wed, 23 Aug 2017 11:49:07 +0200 (CEST) Received: (qmail 19722 invoked by uid 500); 23 Aug 2017 09:49:05 -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 19711 invoked by uid 99); 23 Aug 2017 09:49:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2017 09:49:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 8DFD6180709 for ; Wed, 23 Aug 2017 09:49:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QkuauFLvRzYp for ; Wed, 23 Aug 2017 09:49:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 47FDC61B6B for ; Wed, 23 Aug 2017 09:49:02 +0000 (UTC) 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 09E7EE07D3 for ; Wed, 23 Aug 2017 09:49:01 +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 3D47625382 for ; Wed, 23 Aug 2017 09:49:00 +0000 (UTC) Date: Wed, 23 Aug 2017 09:49:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MNG-6255) Maven script cannot parse jvm.config with CRLF MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 23 Aug 2017 09:49:08 -0000 [ https://issues.apache.org/jira/browse/MNG-6255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16138161#comment-16138161 ] ASF GitHub Bot commented on MNG-6255: ------------------------------------- Github user grkvlt commented on the issue: https://github.com/apache/maven/pull/127 ping? > Maven script cannot parse jvm.config with CRLF > ---------------------------------------------- > > Key: MNG-6255 > URL: https://issues.apache.org/jira/browse/MNG-6255 > Project: Maven > Issue Type: Bug > Components: Command Line > Affects Versions: 3.5.0 > Environment: Windows 7 with MINGW64 environment via Git for Windows 0.1.1 including GNU coreutils and bash 4.4.12 > Reporter: Andrew Kennedy > > A project with a {{.mvn/jvm.config}} file that has *CRLF* line endings will not parse it correctly. The script uses the {{tr}} command to change *LF* to space, but this leaves *CR* behind. For example, with the {{jvm.config}} file containing the text {{-Xmx1024m -Xms512m}} followed by *CRLF*, the following error message is printed: > {code} > $ mvn install > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > Invalid initial heap size: -Xms512m > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)