Hey
Can this be the other way ?
I used the mirror tags in settings.xml to point to my nexus repository.
<mirrors>
<mirror>
<id>my-repo-releases</id>
<name> Releases</name>
<url>http://mavenrepo.....releases</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
This thing actually worked in invoking the plugin from remote repo but it is
also trying to download the other dependencies(ex:
plexus-interactivity-api) form the same repo which dont exist.
On Wed, Aug 10, 2011 at 9:42 PM, Wayne Fay [via Maven] <
[email protected]> wrote:
> > 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
>
> Maven always tries to use the local repo first when resolving things.
> So if you want to use version 1.2.3 of a plugin, and it is available
> locally, it will not check the remote repo no matter what you want it
> to do.
>
> The only way you can "force" the plugin to look remote would be:
> 1) delete the local copy of the plugin before running the build
> 2) use a snapshot version of the plugin and specify the update policy
> for the remote repo to "always"
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden
> email]<http://user/SendEmail.jtp?type=node&node=4686394&i=0>
> For additional commands, e-mail: [hidden
> email]<http://user/SendEmail.jtp?type=node&node=4686394&i=1>
>
>
>
> ------------------------------
> 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-tp4685594p4686394.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-tp4685594p4686692.html
Sent from the Maven - Users mailing list archive at Nabble.com.