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 66F50200CD1 for ; Wed, 26 Jul 2017 18:59:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 65790162F1D; Wed, 26 Jul 2017 16:59: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 AB704162EB8 for ; Wed, 26 Jul 2017 18:59:07 +0200 (CEST) Received: (qmail 35433 invoked by uid 500); 26 Jul 2017 16:59:06 -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 35422 invoked by uid 99); 26 Jul 2017 16:59:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2017 16:59:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 23312C02BE for ; Wed, 26 Jul 2017 16:59:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id d8myxy_VpLlh for ; Wed, 26 Jul 2017 16:59:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2075F60D9B for ; Wed, 26 Jul 2017 16:59:05 +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 890B5E0D28 for ; Wed, 26 Jul 2017 16:59:03 +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 C1FC72481A for ; Wed, 26 Jul 2017 16:59:01 +0000 (UTC) Date: Wed, 26 Jul 2017 16:59:01 +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, 26 Jul 2017 16:59:08 -0000 [ https://issues.apache.org/jira/browse/MNG-6255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16101926#comment-16101926 ] ASF GitHub Bot commented on MNG-6255: ------------------------------------- Github user grkvlt commented on the issue: https://github.com/apache/maven-integration-testing/pull/24 Removed *CR* test > 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)