title: Maven can't find some dependencies' components
body: <p>I'm making a plugin for Intellij IDEA. I tried to build and compile my project with maven and have some problems with com.intellij open sources. Here is my pom.xml dependencies:</p>
  
  <pre><code>     &lt;properties&gt;
          &lt;java.version&gt;1.7&lt;/java.version&gt;
          &lt;org.apache.maven.plugins.compiler.version&gt;3.5&lt;/org.apache.maven.plugins.compiler.version&gt;
          &lt;intellij.openapi.version&gt;7.0.3&lt;/intellij.openapi.version&gt;
          &lt;intellij.annotations.version&gt;12.0&lt;/intellij.annotations.version&gt;
          &lt;intellij.forms_rt.version&gt;7.0.3&lt;/intellij.forms_rt.version&gt;
          &lt;intellij.openapi.version&gt;7.0.3&lt;/intellij.openapi.version&gt;
          &lt;intellij.extensions.version&gt;7.0.3&lt;/intellij.extensions.version&gt;
          &lt;intellij.java2c.version&gt;7.0.3&lt;/intellij.java2c.version&gt;
      &lt;/properties&gt;
      &lt;/dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.intellij&lt;/groupId&gt;
              &lt;artifactId&gt;openapi&lt;/artifactId&gt;
              &lt;version&gt;${intellij.openapi.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.intellij&lt;/groupId&gt;
              &lt;artifactId&gt;annotations&lt;/artifactId&gt;
              &lt;version&gt;${intellij.annotations.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.intellij&lt;/groupId&gt;
              &lt;artifactId&gt;forms_rt&lt;/artifactId&gt;
              &lt;version&gt;${intellij.forms_rt.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.intellij&lt;/groupId&gt;
              &lt;artifactId&gt;extensions&lt;/artifactId&gt;
              &lt;version&gt;${intellij.extensions.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.intellij&lt;/groupId&gt;
              &lt;artifactId&gt;javac2&lt;/artifactId&gt;
              &lt;version&gt;${intellij.java2c.version}&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  </code></pre>
  
  <p>And here is what I've got when I'm trying to compile or build the project:</p>
  
  <pre><code>[ERROR] COMPILATION ERROR : 
  [INFO] -------------------------------------------------------------
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[6,40] package com.intellij.openapi.editor.impl does not exist
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[11,31] cannot find symbol
    symbol:   class ToolWindowFactory
    location: package com.intellij.openapi.wm
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[13,34] cannot find symbol
    symbol:   class JBList
    location: package com.intellij.ui.components
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[34,50] cannot find symbol
    symbol: class ToolWindowFactory
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[42,13] cannot find symbol
    symbol:   class JBList
    location: class com.company.ap.gigaspaces.plugin.PrimaryToolWindowFactory
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[362,13] cannot find symbol
    symbol:   class EditorHeaderComponent
    location: class com.company.ap.gigaspaces.plugin.PrimaryToolWindowFactory
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[79,55] cannot find symbol
    symbol:   variable SERVICE
    location: interface com.intellij.ui.content.ContentFactory
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[58,5] method does not override or implement a method from a supertype
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[263,9] cannot find symbol
    symbol:   class EditorHeaderComponent
    location: class com.company.ap.gigaspaces.plugin.PrimaryToolWindowFactory
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[363,9] cannot find symbol
    symbol:   class EditorHeaderComponent
    location: class com.company.ap.gigaspaces.plugin.PrimaryToolWindowFactory
  [ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[363,44] cannot find symbol
    symbol:   class EditorHeaderComponent
    location: class com.company.ap.gigaspaces.plugin.PrimaryToolWindowFactory
  </code></pre>
  
  <p><strong>UPDATE:</strong> I added two more dependencies and now I've got only 1 error left, which I can't solve.</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;com.github.adedayo.intellij.sdk&lt;/groupId&gt;
          &lt;artifactId&gt;platform-impl&lt;/artifactId&gt;
          &lt;version&gt;142.1&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.github.adedayo.intellij.sdk&lt;/groupId&gt;
          &lt;artifactId&gt;platform-api&lt;/artifactId&gt;
          &lt;version&gt;142.1&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>The following error:</p>
  
  <pre><code>[ERROR] /home/student/Dev/gs-idea-plugin/main/java/com/company/ap/gigaspaces/plugin/PrimaryToolWindowFactory.java:[79,55] cannot find symbol
  [ERROR] symbol:   variable SERVICE
  [ERROR] location: interface com.intellij.ui.content.ContentFactory
  </code></pre>
  
  <p>I opened the location of the interface and there is no such variable but the class called SERVICE with just one static method. Could it be maven've got sick and tried to find variable which is class? </p>