maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Klauer <>
Subject Re: Maven triggers cygwin warning
Date Tue, 11 May 2010 16:05:00 GMT
I've had that when upgrading to Cygwin 1.7, and it was a Cygwin issue that I
fixed it with.  I've never seen it since modifying my .profile:

export CYGWIN=nodosfilewarning

I'm pretty sure this is a Cygwin issue, not Maven.

For instance, from the "What's New" page on Cygwin 1.7:

On the first usage of a DOS path (C:\foo, \\foo\bar), the Cygwin DLL emits a
> scary warning that DOS paths shouldn't be used. This warning may be disabled
> via the new CYGWIN=nodosfilewarning setting.

Do you have this setting configured when you open up a terminal (either by
placing in your .profile, .bash_profile, or .bashrc file)?

On Tue, May 11, 2010 at 10:52 AM, David BalaĹžic <> wrote:

> On 11 May 2010 17:36, Wayne Fay <> wrote:
> >> When I start maven inside cygwin environment, cygwin gives a warning
> >> about an  MS-DOS style path.
> >> As the mvn script tries to detect cygwin, I find that surprising.
> >
> > I've used Maven inside Cygwin on and off for quite a while now (not
> > really often to be honest), and I've never seen that warning.
> >
> > I read the messages posted to that Cygwin list, tried the "sh -x ..."
> > command suggested by Jeremy and got no warnings, then tried again
> > using mintty and still didn't get anything.
> >
> > This is testing on Win XP SP2, Maven 2.2.1, and Sun JDK 1.6.0_07 with
> > default locale en_US and encoding Cp1252.
> The warning is printed only once per session. Maybe you missed it?
> What do you get with
> sh -x "$(which mvn)" -version >mvn.log 2>&1
> ?
> About the "session", I'm not sure what exactly are the session borders.
> If I log into Windows, start mintty, I get one warning. If I close
> mintty and open it again,
> I again get the warning (once). If I have multiple consoles open,
> sometimes I can not
> get the warning, even if I close all of them and open one new.
> Regards,
> David
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message