It is a known bug. If I remember correctly already fixed but the new
version hasn't been released yet. I think they were saying on the dev
mailing list they were going to release a new version soon .

On 11/30/05, Marouane Amraoui <[EMAIL PROTECTED]> wrote:
> thank, but i want only tell to Eclipse about the  path to the local maven 
> repository, so why i need a pom project ??
>
> -----Message d'origine-----
> De : Wendy Smoak [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 30 novembre 2005 13:38
> À : Maven Users List
> Objet : Re: add-maven-repo
>
>
> On 11/30/05, Marouane Amraoui <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Alexandre Poitras
Québec, Canada

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

Reply via email to