> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to