title: Maven compile issue in Android project using google maps library project
body: <p>I am trying to mavenize the android project which uses library projects as well. I have created apklib and done the mvn install:install-file commands successfully. The build fails with compilation error. The error log can be seen below which suggests me if the google maps library project is being referenced properly or not. </p>
  
  <pre><code>MapActivity.java:[320,51] cannot find symbol
  symbol:   variable CameraUpdateFactory
  </code></pre>
  
  <p>All the classes in com.google.android.gms.maps cannot be referenced. The pom.xml is as shown below </p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.android&lt;/groupId&gt;
          &lt;artifactId&gt;android&lt;/artifactId&gt;
          &lt;version&gt;${android.version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.android.support&lt;/groupId&gt;
          &lt;artifactId&gt;support-v4&lt;/artifactId&gt;
          &lt;version&gt;4&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.octo.android.robospice&lt;/groupId&gt;
          &lt;artifactId&gt;robospice&lt;/artifactId&gt;
          &lt;version&gt;${robospice.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.octo.android.robospice&lt;/groupId&gt;
          &lt;artifactId&gt;robospice-spring-android&lt;/artifactId&gt;
          &lt;version&gt;${robospice.spring.android.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.octo.android.robospice&lt;/groupId&gt;
          &lt;artifactId&gt;robospice-ormlite&lt;/artifactId&gt;
          &lt;version&gt;${robospice-ormlite.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
          &lt;version&gt;${spring.android.jackson.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.j256.ormlite&lt;/groupId&gt;
          &lt;artifactId&gt;ormlite-android&lt;/artifactId&gt;
          &lt;version&gt;${ormlite.android.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.android.gms&lt;/groupId&gt;
          &lt;artifactId&gt;google-play-services&lt;/artifactId&gt;
          &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
          &lt;type&gt;apklib&lt;/type&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.actionbarrefresh.lib&lt;/groupId&gt;
          &lt;artifactId&gt;refresh-lib&lt;/artifactId&gt;
          &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
          &lt;type&gt;apklib&lt;/type&gt;
      &lt;/dependency&gt;
  
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>Also, the classes from android-support-v4 library cannot be referenced. I have added that library in the local repository with mvn install command but still it throws the error. It says SupportMapFragment cannot be found.</p>
  
  <p>Any pointers regarding this will really be helpful.</p>