title: Grails 2.0 plugin dependencies
body: <p>I'm trying to build a Grails 2.0 application using private plugins:</p>
  
  <ul>
  <li>mycompany-frontend = Grails Application</li>
  <li>mycompany-core = Grails plugins for domain classes</li>
  </ul>
  
  <p>In the mycompany-core plugin, I created some domain classe and added a joda-time dependency in BuildConfig.groovy:</p>
  
  <pre><code>plugins {
      build(":tomcat:$grailsVersion",
            ":release:1.0.1",
            ":svn:1.0.2") {
          export = false
      }
      build(":joda-time:1.3.1")
  }
  </code></pre>
  
  <p>in the mycompany-frontend app, I have the following BuildConfig.groovy:</p>
  
  <pre><code>plugins {
      runtime ":hibernate:$grailsVersion"
      runtime ":resources:1.1.5"
      build "mycompany:mycompany-core:0.1-SNAPSHOT"
  
  build ":svn:1.0.2"
  build ":spring-security-core:1.2.7"
      build ":tomcat:$grailsVersion"
  }
  </code></pre>
  
  <p>I also removed grails.plugins entries from application.properties to avoid confusion.
  But at the end, the mycompany-frontend cannot find the model classes from mycompany-core plugin.</p>
  
  <p>What should I look/fix to get this working?</p>