From issues-return-147785-archive-asf-public=cust-asf.ponee.io@maven.apache.org Wed Apr 10 06:27:03 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id E8A75180626 for ; Wed, 10 Apr 2019 08:27:02 +0200 (CEST) Received: (qmail 15755 invoked by uid 500); 10 Apr 2019 06:27:02 -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 15740 invoked by uid 99); 10 Apr 2019 06:27:02 -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; Wed, 10 Apr 2019 06:27:02 +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 2358EE2A81 for ; Wed, 10 Apr 2019 06:27: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 7796C245A2 for ; Wed, 10 Apr 2019 06:27:00 +0000 (UTC) Date: Wed, 10 Apr 2019 06:27:00 +0000 (UTC) From: "Hudson (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: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MNG-6255?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D168141= 01#comment-16814101 ]=20 Hudson commented on MNG-6255: ----------------------------- Build unstable in Jenkins: Maven TLP =C2=BB maven =C2=BB MNG-6169/MNG-6554 = #8 See https://builds.apache.org/job/maven-box/job/maven/job/MNG-6169%252FMNG-= 6554/8/ > 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 Windo= ws 0.1.1 including GNU coreutils and bash 4.4.12 > Reporter: Andrew Kennedy > Assignee: Herv=C3=A9 Boutemy > Priority: Major > Fix For: 3.5.3 > > Time Spent: 10m > Remaining Estimate: 0h > > A project with a {{.mvn/jvm.config}} file that has *CRLF* line endings wi= ll 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 (v7.6.3#76005)