I get the following error message:

Cannot execute mojo: resources. It requires a project with an existing
pom.xml, but the build is not using one

However, I do have a proper pom.xml.   This only happens from a Cygwin bash
shell.   If I open a DOS cmd window in the same directory I will not get
this error.

I think there is something about how this mojo processes the current working
directory path.  Other mojos {compile, install} see the pom.xml just fine. 
Only the "resources" phase of the build fails.   

In cygwin the pwd is:
$ pwd
/cygdrive/d/workspace/myproj


In DOS it would be:
D:\workspace\myproj
Which in DOS shows










-- 
View this message in context: 
http://www.nabble.com/Cannot-execute-mojo%3A-resources-%28in-Cygwin%29-tf3269563s177.html#a9090047
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to