[ 
http://jira.codehaus.org/browse/MNG-3168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MNG-3168.
----------------------------------

    Resolution: Fixed
      Assignee: Benjamin Bentmann

Fixed in [r902614|http://svn.apache.org/viewvc?view=revision&revision=902614].

> Correct error message when project descriptor not found
> -------------------------------------------------------
>
>                 Key: MNG-3168
>                 URL: http://jira.codehaus.org/browse/MNG-3168
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Bootstrap & Build
>            Reporter: Chris Eldredge
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-alpha-7
>
>
> When using the "-f" switch and passing the name of a file which does not 
> exist, Maven complains about pom.xml, not the alternate file name.  For 
> example, the command:
> mvn -f foo.xml install
> produces this error message:
> Cannot execute mojo: resources. It requires a project with an existing 
> pom.xml, but the build is not using one.
> This error message is confusing and incorrect.  Maven should instead report 
> that the file "foo.xml" could not be loaded.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to