title: sbt playframework publish submodules
body: <p>I have the following project structure:</p>
  
  <pre><code>myproject
    |
    +- app
    |
    +- conf
    |
    +- project
    |  |
    |  +- project
    |  |
    |  +- Build.scala (etc.)
    |
    +- modules
       |
       +- security
          |
          +- app
          |
          +- conf
  </code></pre>
  
  <p>Here is the snippet from my build file:</p>
  
  <pre><code>val security = PlayProject(
      appName + "-security", appVersion, path = file("modules/security")
  )
  </code></pre>
  
  <p>If I try to do a <code>sbt publish</code> with a non snapshot version, sbt exits with following error:</p>
  
  <pre><code>sbt.ResolveException: unresolved dependency: myproject-security#myproject-security_2.9.1;123 
  </code></pre>
  
  <p>Of course it can't find the dependency in the repository. But how can I publish the submodules together with the main project?</p>
  
  <p>Thank you in advance.</p>