I want it to restrict to the remote repo only. It should not look into local repo , at least first it have to look in remote and then go for local
On Wed, Aug 10, 2011 at 6:02 PM, Anders Hammar [via Maven] < ml-node+4685646-210393254-220...@n5.nabble.com> wrote: > Short answer: it's the same command > > somewhat longer answer: Maven will first look in your local repo. If not > found there, it will look in the configured remote repos (and download to > your local repo if found). > > Maybe reading some of the first chapters in some Maven book will give you a > > better idea on how Maven works. You'll find two free books here [1]. > > /Anders > > [1] http://www.sonatype.com/Support/Books > > On Wed, Aug 10, 2011 at 14:10, goutham <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4685646&i=0>> > wrote: > > > Hi, > > Usually we call a plugin(ex:maven project with a mojo) using command > > " mvn <groupid>:<artifactid>:<version>:<goal> " which is in local > > repository. > > > > What is the command which specifies it to look in my nexus repository? > > > > > > Thank you in advance > > -Goutham > > > > > > > > > > -- > > View this message in context: > > > http://maven.40175.n5.nabble.com/Help-Calling-plugin-from-a-remote-repository-tp4685594p4685594.html > > Sent from the Maven - Users mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=4685646&i=1> > > For additional commands, e-mail: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=4685646&i=2> > > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://maven.40175.n5.nabble.com/Help-Calling-plugin-from-a-remote-repository-tp4685594p4685646.html > To unsubscribe from Help:Calling plugin from a remote repository, click > here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4685594&code=Z291dGhhbS52YXNpcmVkZGlAZ21haWwuY29tfDQ2ODU1OTR8MTY3OTUzMTU3NQ==>. > > -- View this message in context: http://maven.40175.n5.nabble.com/Help-Calling-plugin-from-a-remote-repository-tp4685594p4686013.html Sent from the Maven - Users mailing list archive at Nabble.com.