[ 
http://jira.codehaus.org/browse/MNG-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=189697#action_189697
 ] 

Benjamin Bentmann commented on MNG-4055:
----------------------------------------

What exactly is wrong with the error? You have "a folder without maven's 
pom.xml file" and the errors says "Cannot execute mojo: resources. It requires 
a project with an existing pom.xml, but the build is not using one.", seems OK 
to me and appears to match Maven 2.x behavior as well.

> wrong error on mvn install in folder without pom.xml 
> -----------------------------------------------------
>
>                 Key: MNG-4055
>                 URL: http://jira.codehaus.org/browse/MNG-4055
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 3.0-alpha-2
>            Reporter: Milos Kleint
>             Fix For: 3.0-alpha-5
>
>
> a folder without maven's pom.xml file. running mvn install there->
> [mkle...@localhost glassfish]$ ~/javatools/apache-maven-3.0-alpha-2/bin/mvn 
> install
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]
> [INFO] Id: org.apache.maven:super-pom:jar:3.0-SNAPSHOT
> [INFO] task-segment: [install]
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR]
> Internal error in the plugin manager executing goal 
> 'org.apache.maven.plugins:maven-resources-plugin:2.2:resources': Cannot 
> execute mojo: resources. It requires a project with an existing pom.xml, but 
> the build is not using one.
> While building project with id: org.apache.maven:super-pom:jar:3.0-SNAPSHOT

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