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 72A36200C18 for ; Fri, 27 Jan 2017 12:05:32 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 71645160B47; Fri, 27 Jan 2017 11:05:32 +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 BA268160B5B for ; Fri, 27 Jan 2017 12:05:31 +0100 (CET) Received: (qmail 94702 invoked by uid 500); 27 Jan 2017 11:05:31 -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 94557 invoked by uid 99); 27 Jan 2017 11:05:30 -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; Fri, 27 Jan 2017 11:05:30 +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 7B7E318C8DF for ; Fri, 27 Jan 2017 11:05:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] 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 HZ_mWnCf9Jpl for ; Fri, 27 Jan 2017 11:05:29 +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 531425F47A for ; Fri, 27 Jan 2017 11:05:29 +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 41B88E0352 for ; Fri, 27 Jan 2017 11:05:27 +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 7B0262529F for ; Fri, 27 Jan 2017 11:05:25 +0000 (UTC) Date: Fri, 27 Jan 2017 11:05:25 +0000 (UTC) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MNG-5538) mvn start script causes cygwin warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 27 Jan 2017 11:05:32 -0000 [ https://issues.apache.org/jira/browse/MNG-5538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov updated MNG-5538: -------------------------------- Fix Version/s: 3.5.0 > mvn start script causes cygwin warning > -------------------------------------- > > Key: MNG-5538 > URL: https://issues.apache.org/jira/browse/MNG-5538 > Project: Maven > Issue Type: Bug > Components: Command Line > Affects Versions: 3.1.1 > Environment: windows 7 64bit, cygwin 1.7.25, mvn 3.1.1 > Reporter: Martin Vavra > Assignee: Christian Schulte > Priority: Minor > Fix For: 3.5.0 > > Attachments: mvn.diff, mvn.fixed, mvn.orig > > > The shell script mvn in the bin directory of maven does various tricks with the variable M2_HOME but before the last line (the JAVACMD) is executed, the value of M2_HOME contains the Windows-style path to maven. > One of the arguments to java.exe is: > {noformat}-classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar{noformat} > The resolving of the asterisk is still done by the cygwin bash, > and since M2_HOME is windows-style at that time, > cygwin generates the following warning: > {noformat} > cygwin warning: > MS-DOS style path detected: D:\apps\apache-maven-3.1.1/boot/ > Preferred POSIX equivalent is: /cygdrive/d/apps/apache-maven-3.1.1/boot/ > CYGWIN environment variable option "nodosfilewarning" turns off this warning. > Consult the user's guide for more details about POSIX paths: > http://cygwin.com/cygwin-ug-net/using.html#using-pathnames > {noformat} > This can be fixed quite easily - attached please find my proposal. -- This message was sent by Atlassian JIRA (v6.3.4#6332)