title: Sbt not found object. But this object is a package
body: <p>I faced with problem of configuring build.sbt files. In my project I have 2 separate modules. Each module is an sbt project. In my build sbt file of the main module I have such:</p>
  
  <pre><code>lazy val pluginsTest = ProjectRef(file("../plugins-test"), "pluginsTest")
  lazy val root = (project in file(".")).enablePlugins(PlayScala).dependsOn(pluginsTest)
  </code></pre>
  
  <p>So for IDE everything is OK,I can import classes from plugins-test module for example  <code>import pluginsTest.example.Test</code>, but while I'm trying to compile this project from root module using command prompt it says that:</p>
  
  <pre><code> not found: object pluginsTest
  [error] import pluginsTest.example.Test
  </code></pre>
  
  <p>Has anyone faced with this problem?</p>
  
  <p>Thank you in advance.</p>
  
  <p>UPDATE</p>
  
  <p><pre>D:.
  ├───.idea
  │   ├───libraries
  │   └───modules
  ├───plugins-test
  │   ├───.idea
  │   │   ├───libraries
  │   │   └───modules
  │   ├───app
  │       └───pluginsTest
  │           └───example
  │<br>
  ├───root
      ├───.idea
      │   └───modules
      ├───app
          └───org
              └───root
                     └───services
                         └───common
                             ├───dao
                             ├───main
                             ├───model
                             └───utils
   </p>
  
  <code>.
  </code></pre>