You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Boris Feldman (JIRA)" <ji...@codehaus.org> on 2007/12/25 17:22:57 UTC

[jira] Created: (MNG-3338) mvn install failed due to build error : Cannot execute mojo: resources. See descr.

mvn install failed due to build error : Cannot execute mojo: resources. See descr.
----------------------------------------------------------------------------------

                 Key: MNG-3338
                 URL: http://jira.codehaus.org/browse/MNG-3338
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 2.0.8
            Reporter: Boris Feldman
            Priority: Blocker


D:\apache-maven-2.0.8\bin>mvn.bat install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an existing po
m.xml, but the build is not using one.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue Dec 25 16:04:59 GMT 2007
[INFO] Final Memory: 2M/6M
[INFO] ------------------------------------------------------------------------


-- 
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

        

[jira] Closed: (MNG-3338) mvn install failed due to build error : Cannot execute mojo: resources. See descr.

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wendy Smoak closed MNG-3338.
----------------------------

      Assignee: Wendy Smoak
    Resolution: Incomplete

> D:\apache-maven-2.0.8\bin>mvn.bat install 

You need to change into the project directory before executing 'mvn install'.

If you're still having trouble, please ask on the user list.  You can find subscription info here:  http://maven.apache.org/mail-lists.html

> mvn install failed due to build error : Cannot execute mojo: resources. See descr.
> ----------------------------------------------------------------------------------
>
>                 Key: MNG-3338
>                 URL: http://jira.codehaus.org/browse/MNG-3338
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Boris Feldman
>            Assignee: Wendy Smoak
>            Priority: Blocker
>
> D:\apache-maven-2.0.8\bin>mvn.bat install
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Cannot execute mojo: resources. It requires a project with an existing po
> m.xml, but the build is not using one.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Tue Dec 25 16:04:59 GMT 2007
> [INFO] Final Memory: 2M/6M
> [INFO] ------------------------------------------------------------------------

-- 
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