You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jeff li <jo...@gmail.com> on 2005/11/12 13:42:37 UTC

problem about repository setting

Hi, everybody


I change setting file to set repository to c:/repo , and maven can work well
to access to c:/repo for jar files when I input command "mvn ...", but when
I excute the ant tasks regarding the classpath defined with antlib taskdef,
maven changes to access to its default directory c:/documents and
setting/.... .I cannot figure out why it happens. please do me a favor.
thanks

good day
Jeff

Re: problem about repository setting

Posted by Brett Porter <br...@gmail.com>.
You need to use <localRepository /> inside the <dependencies/> element.

- Brett

On 11/12/05, jeff li <jo...@gmail.com> wrote:
> Hi, everybody
>
>
> I change setting file to set repository to c:/repo , and maven can work well
> to access to c:/repo for jar files when I input command "mvn ...", but when
> I excute the ant tasks regarding the classpath defined with antlib taskdef,
> maven changes to access to its default directory c:/documents and
> setting/.... .I cannot figure out why it happens. please do me a favor.
> thanks
>
> good day
> Jeff
>
>

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