title: My Maven Vaadin Project (created with IntelliJ Idea 13) cannot see an interface class which belongs to an already declared maven dependency
body: <p>I have created a maven vaadin project using IntelliJ Idea 13 using vaadin-archetype-application:7.1.9</p>
  
  <p>In this project I have declared the following pom.xml :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;MavenVaadinClientSideApp&lt;/groupId&gt;
      &lt;artifactId&gt;MavenVaadinClientSideApp&lt;/artifactId&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;Vaadin Web Application&lt;/name&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;vaadin.version&gt;7.1.9&lt;/vaadin.version&gt;
          &lt;vaadin.plugin.version&gt;${vaadin.version}&lt;/vaadin.plugin.version&gt;
      &lt;/properties&gt;
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;vaadin-addons&lt;/id&gt;
              &lt;url&gt;http://maven.vaadin.com/vaadin-addons&lt;/url&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;vaadin-snapshots&lt;/id&gt;
              &lt;url&gt;http://oss.sonatype.org/content/repositories/vaadin-snapshots/&lt;/url&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/releases&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;/snapshots&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
      &lt;pluginRepositories&gt;
          &lt;pluginRepository&gt;
              &lt;id&gt;vaadin-snapshots&lt;/id&gt;
              &lt;url&gt;http://oss.sonatype.org/content/repositories/vaadin-snapshots/&lt;/url&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/releases&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;/snapshots&gt;
          &lt;/pluginRepository&gt;
      &lt;/pluginRepositories&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-server&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-client-compiled&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!--
            Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
  
            For widgetset compilation, vaadin-client-compiler is automatically added on the
            compilation classpath by vaadin-maven-plugin so normally there is no need for an
            explicit dependency.
          --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-client-compiler&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-client&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-push&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
              &lt;artifactId&gt;vaadin-themes&lt;/artifactId&gt;
              &lt;version&gt;${vaadin.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
              &lt;version&gt;3.0.1&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;!-- As we are doing "inplace" GWT compilation, ensure the widgetset --&gt;
              &lt;!-- directory is cleaned properly --&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.4.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;filesets&gt;
                          &lt;fileset&gt;
                              &lt;directory&gt;src/main/webapp/VAADIN/widgetsets&lt;/directory&gt;
                          &lt;/fileset&gt;
                      &lt;/filesets&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
                  &lt;artifactId&gt;vaadin-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${vaadin.plugin.version}&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;extraJvmArgs&gt;-Xmx512M -Xss1024k&lt;/extraJvmArgs&gt;
                      &lt;!-- &lt;runTarget&gt;mobilemail&lt;/runTarget&gt; --&gt;
                      &lt;!-- We are doing "inplace" but into subdir VAADIN/widgetsets. This 
                          way compatible with Vaadin eclipse plugin. --&gt;
                      &lt;webappDirectory&gt;${basedir}/src/main/webapp/VAADIN/widgetsets
                      &lt;/webappDirectory&gt;
                      &lt;hostedWebapp&gt;${basedir}/src/main/webapp/VAADIN/widgetsets
                      &lt;/hostedWebapp&gt;
                      &lt;noServer&gt;true&lt;/noServer&gt;
                      &lt;!-- Remove draftCompile when project is ready --&gt;
                      &lt;draftCompile&gt;false&lt;/draftCompile&gt;
                      &lt;compileReport&gt;true&lt;/compileReport&gt;
                      &lt;style&gt;OBF&lt;/style&gt;
                      &lt;strict&gt;true&lt;/strict&gt;
                      &lt;runTarget&gt;http://localhost:8080/&lt;/runTarget&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;configuration&gt;
                              &lt;!-- if you don't specify any modules, the plugin will find them --&gt;
                              &lt;!-- &lt;modules&gt; &lt;module&gt;com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet&lt;/module&gt; 
                                  &lt;/modules&gt; --&gt;
                          &lt;/configuration&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;clean&lt;/goal&gt;
                              &lt;goal&gt;resources&lt;/goal&gt;
                              &lt;goal&gt;update-theme&lt;/goal&gt;
                              &lt;goal&gt;update-widgetset&lt;/goal&gt;
                              &lt;goal&gt;compile-theme&lt;/goal&gt;
                              &lt;goal&gt;compile&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
                  &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
          &lt;pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.eclipse.m2e&lt;/groupId&gt;
                      &lt;artifactId&gt;lifecycle-mapping&lt;/artifactId&gt;
                      &lt;version&gt;1.0.0&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;lifecycleMappingMetadata&gt;
                              &lt;pluginExecutions&gt;
                                  &lt;pluginExecution&gt;
                                      &lt;pluginExecutionFilter&gt;
                                          &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
                                          &lt;artifactId&gt;
                                              vaadin-maven-plugin
                                          &lt;/artifactId&gt;
                                          &lt;versionRange&gt;
                                              [7.1.9,)
                                          &lt;/versionRange&gt;
                                          &lt;goals&gt;
                                              &lt;goal&gt;resources&lt;/goal&gt;
                                              &lt;goal&gt;update-widgetset&lt;/goal&gt;
                                              &lt;goal&gt;compile&lt;/goal&gt;
                                              &lt;goal&gt;update-theme&lt;/goal&gt;
                                              &lt;goal&gt;compile-theme&lt;/goal&gt;
                                          &lt;/goals&gt;
                                      &lt;/pluginExecutionFilter&gt;
                                      &lt;action&gt;
                                          &lt;ignore&gt;&lt;/ignore&gt;
                                      &lt;/action&gt;
                                  &lt;/pluginExecution&gt;
                              &lt;/pluginExecutions&gt;
                          &lt;/lifecycleMappingMetadata&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/pluginManagement&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>As you can see vaadin-client is already declared.
  The problem is that when I am trying to use com.google.gwt.core.client.EntryPoint interface that belongs to this package IntelliJ Idea 13 Ultimate cannot import it (see the image below)
  <img src="https://i.stack.imgur.com/HnUCu.png" alt="Error image"></p>
  
  <p>Any ideas?</p>