I've been getting the same message since I upgraded to Cygwin 1.7. I don't think I got it with 1.5 but am not positive. The message only appears during the first invocation of Maven. Since the various app teams within our org use different versions of Maven I need to have many scripts to set the version of Maven and Java that a particular app team will use. I always run "mvn --version" at the end of my scripts to verify I'm using the correct version. I've gotten this message with Maven 2.0.8, 2.0.9, 2.0.10, 2.1.0 and 2.2.1 using Sun JDKs 1.4.2_15, 1.5.0_12 or 1.6.0_14.
If I include Nick's suggestion and add "CYGWIN=nodosfilewarning" the warning does go away. I'm using Cygwin Setup version 2.697. The message appears in both the Cygwin bash shell and Xterm v255-1 using Xinit 1.2.1-1 Commenting out the "mvn --version" in my script and running sh -x "$(which mvn)" -version >mvn.log 2>&1 instead still gives the message. See the content of this log for output of running Maven 2.0.8 & JDK 1.4.2_15, Maven 2.2.1 & JDK 1.6.0_14 along with the "sh -x "$(which mvn)" -version >mvn.log 2>&1" command. http://pastebin.com/WAYwKy3k This doesn't appear to affect any of our builds so it isn't a problem for me. Just posting this info in case someone can use it. Regards, --Ken -----Original Message----- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Tuesday, May 11, 2010 10:40 AM To: Maven Users List Subject: Re: Maven triggers cygwin warning > The warning is printed only once per session. Maybe you missed it? No, I didn't. > sh -x "$(which mvn)" -version >mvn.log 2>&1 See the content of my mvn.log here: http://pastebin.com/SSCrqsjN I really don't think this is a Maven issue, but rather something specific about your environment or your specific Cygwin version. It may also be due to the fact that I'm running cygwin 1.5.25-15, haven't updated in a while. ;-) Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org