Plugin dependency Tag inside BuildCofig.grrovy-How can we point to a local directory

12 views
Skip to first unread message

Pandit Sharma

unread,
Oct 28, 2016, 8:27:00 AM10/28/16
to Grails Dev Discuss
 have two plugin dependencies inside my build config.groovy which are
plugins {
compile ":spring-security-core:2.0.0"
compile ":spring-security-ldap:2.0.1"
}

I have two plugin dependencies inside my build config.groovy which are

plugins {
compile ":spring-security-core:2.0.0"
compile ":spring-security-ldap:2.0.1"
}

Now due to certain proxies issues i was not able to resolve the plugins dependency through maven. So i have downloaded the jars manually and put them inside the directory where in local any plugin gets downloaded.I want to test whether this combinations of the plugin version suits my requirement. SO my query is Is there any way i can point to the local directory for plugin dependency resolution just to test in my local.

Thanks

Mihai Glonț

unread,
Oct 28, 2016, 10:46:29 AM10/28/16
to grails-de...@googlegroups.com
If you're using Grails 2, have a look at
http://docs.grails.org/2.5.5/ref/Command%20Line/set-proxy.html.

Grails 2.3+ uses Aether for dependency resolution, so you will have to
use "The Maven Way" AFAIK. See also the section on dependency resolution
changes from http://docs.grails.org/2.5.5/guide/upgradingFrom22.html.
> --
> You received this message because you are subscribed to the Google
> Groups "Grails Dev Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to grails-dev-disc...@googlegroups.com
> <mailto:grails-dev-disc...@googlegroups.com>.
> To post to this group, send email to grails-de...@googlegroups.com
> <mailto:grails-de...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grails-dev-discuss/a8eb37f6-aec6-4284-a9cd-f6265cd7d4cb%40googlegroups.com
> <https://groups.google.com/d/msgid/grails-dev-discuss/a8eb37f6-aec6-4284-a9cd-f6265cd7d4cb%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages