You need install android extra (google-play-services)[1] and If you are using maven-sdk workaround, please remove[2] google-play-services


[1] http://bit.ly/190r896
[2] https://github.com/aerogear/aerogear-android/commit/8ed72d9233cedf96

Att,
Daniel Passos

On Wed, Jun 19, 2013 at 11:05 AM, Matthias Wessendorf <matzew@apache.org> wrote:
> Trying the push branch, I am getting a little error:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building AeroGear Android Libary 1.2.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for com.google.android.gms:google-play-services:apklib:7
> is missing, no dependency information available
> [WARNING] The POM for com.google.android.gms:google-play-services:jar:7 is
> missing, no dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3.314s
> [INFO] Finished at: Wed Jun 19 15:37:22 CEST 2013
> [INFO] Final Memory: 10M/146M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project aerogear-android: Could not
> resolve dependencies for project
> org.jboss.aerogear:aerogear-android:apklib:1.2.0-SNAPSHOT: The following
> artifacts could not be resolved:
> com.google.android.gms:google-play-services:apklib:7,
> com.google.android.gms:google-play-services:jar:7: Failure to find
> com.google.android.gms:google-play-services:apklib:7 in
> https://repository.jboss.org/nexus/content/groups/public-jboss/ was cached
> in the local repository, resolution will not be reattempted until the update
> interval of jboss-public-repository-group has elapsed or updates are forced
> -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>
> Selected branch: push branch
>
> pluto:aerogear-android matzew$ git branch
>   master
> * push
>
> Not sure if that is on my site, but I had to do this:
>
> In the Android SDK Manager I was installing the 2.1 (API Level 7),
> afterwards did invoke this on the lovely maven-android-sdk-deployer:
>
> mvn install -P 2.1
>
> Afterwards the build just worked fine!
>
> Since our README talks about -P .4.1 I am not sure if that's something here,
> or more on my site.
>
> I'd be happy to update the doc, if we really require API Level 7 (not sure,
> hence the email)
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev