You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marouane Amraoui <Ma...@omnidata.co.ma> on 2005/11/30 14:33:43 UTC

add-maven-repo

Hi,
i executed the command "mvn -Declipse.workspace=D:\eclipse\workspace eclipse:add-maven-repo"
and i got this error msg :

Cannot execute mojo: add-maven-repo. It requires a project, but the build is not using one.

???

thx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: add-maven-repo

Posted by Wendy Smoak <ws...@gmail.com>.
On 11/30/05, Marouane Amraoui <Ma...@omnidata.co.ma> wrote:
> Hi,
> i executed the command "mvn -Declipse.workspace=D:\eclipse\workspace eclipse:add-maven-repo"
> and i got this error msg :
>
> Cannot execute mojo: add-maven-repo. It requires a project, but the build is not using one.

Usually this means you are running 'mvn' from a directory which does
not contain a pom.xml file.

(It often happens after 'mvn archetype:create' if you don't cd to the
newly-created project directory.)

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org