Permalink
Browse files

Documentation for GRAILS-6321 "Should be able to override dependency …

…repositories for plugins"
  • Loading branch information...
1 parent e54bcc9 commit cb36c9bf4e886ec4860c0352a64b906d1adad8fe @graemerocher graemerocher committed Dec 2, 2010
Showing with 14 additions and 0 deletions.
  1. +14 −0 src/guide/3.7.2 Dependency Repositories.gdoc
View
14 src/guide/3.7.2 Dependency Repositories.gdoc
@@ -25,6 +25,20 @@ repositories {
}
{code}
+h4. Controlling Repositories Inherited from Plugins
+
+A plugin you have installed my define a reference to a remote repository just as an application can. By default your application will inherit this repository definition when you install the plugin.
+
+If you do not wish to inherit repository definitions from plugins then you can disable repository inheritance:
+
+{code:java}
+repositories {
+ inherit false
+}
+{code}
+
+In this case your application will not inherit any repository definitions from plugins and it is down to you to provide appropriate (possibly internal) repository definitions.
+
h4. Local Resolvers
If you do not wish to use a public Maven repository you can specify a flat file repository:

0 comments on commit cb36c9b

Please sign in to comment.