You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Farrukh Najmi <fa...@wellfleetsoftware.com> on 2007/09/07 18:34:41 UTC

How to specify remote repository on mvn command line

Is there a way to specify to mvn command line to pickup additional 
remote repositories?
I tried the -DremoteRepositories property that works with 
maven-archetype-plugin but it
did not work.

If this is not supported, IMHO this would be a very good thing to add to 
a future version.

Thanks for any word on this.

-- 
Regards,
Farrukh

Web: http://www.wellfleetsoftware.com



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


Re: How to specify remote repository on mvn command line

Posted by Andrew Williams <an...@handyande.co.uk>.
specify the repositories that you might want to use in a profile  
within settings.xml - then just activate it using the -PprofileId  
option to maven

Andy

On 7 Sep 2007, at 17:34, Farrukh Najmi wrote:

>
> Is there a way to specify to mvn command line to pickup additional  
> remote repositories?
> I tried the -DremoteRepositories property that works with maven- 
> archetype-plugin but it
> did not work.
>
> If this is not supported, IMHO this would be a very good thing to  
> add to a future version.
>
> Thanks for any word on this.
>
> -- 
> Regards,
> Farrukh
>
> Web: http://www.wellfleetsoftware.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


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