title: How can I load grails plugins from a custom artifactory repo?
body: <p>Grails 2.3.10</p>
  
  <p>I have authored a Grails plugin for use within my company and installed in on the company's Artifactory repo. How can I set up another project's BuildConfig so that it checks the company's private artifactory repo when installing plugins?</p>
  
  <p>Here is what I have tried:</p>
  
  <pre><code>repositories {
      ...
      grailsRepo "http://artifactory.mycompany.com/"
  }
  </code></pre>
  
  <p>and also...</p>
  
  <pre><code>repositories {
      ...
      mavenRepo "http://artifactory.mycompany.com/"
  }
  </code></pre>
  
  <p>Neither of these seem to have any effect. What's the correct config to change or add to the grails plugins repo?</p>
  
  <p>Ideally, I would like both the custom repo and the grails central repo to be checked for plugins.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>To clarify further... I want my project configured to pull down a plugin that only exists on the company's artifactory server, not on the central Grails plugin repo.</p>
  
  <p>I get the following output from grails compile:</p>
  
  <pre><code>Error |
  Resolve error obtaining dependencies: Could not find artifact org.grails.plugins:cascade-validation:zip:0.1.0 in grailsCentral (http://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
  Error |
  Resolve error obtaining dependencies: Could not find artifact org.grails.plugins:cascade-validation:zip:0.1.0 in grailsCentral (http://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
  Error |
  Resolve error obtaining dependencies: Could not find artifact org.grails.plugins:cascade-validation:zip:0.1.0 in grailsCentral (http://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
  Error |
  Could not find artifact org.grails.plugins:cascade-validation:zip:0.1.0 in grailsCentral (http://repo.grails.org/grails/plugins)
  </code></pre>
  
  <p>It looks like the company server is not being accessed based on the build output.</p>