[aerogear-dev] Maven repo config in pom.xml

Daniel Passos daniel at passos.me
Fri Sep 5 07:20:56 EDT 2014


On Thu, Sep 4, 2014 at 8:00 PM, John Manko <john.manko at gmail.com> wrote:

> I added the repo and plugin config to my pom, but I still can't find the
> aerogear artifacts.
>

What repo and plugin you mean?

For org.jboss.aerogear:aerogear-android-push, only v0.2 and v0.1 are found,
> not v1.0.
>

All our Android library are in Maven central:
http://search.maven.org/#search%7Cga%7C1%7Caerogear-android-push



> Also, getting Failed to execute goal on project blah: Could not resolve
> dependencies for project .... Failed to collect dependencies for
> [org.jboss.aerogear:aerogear-android:jar:1.4.0 (compile),
> org.jboss.aerogear:aerogear-security:jar:1.3.1 (compile),
> org.jboss.aerogear:aerogear-security-picketlink:jar:1.3.1 (compile),
> com.google.android:support-v4:jar:r7 (compile),
> javax:javaee-web-api:jar:6.0 (provided)]: No versions available for
> android.support:compatibility-v4:jar:[18,) within specified range -> [Help
> 1]
>

Unfortunately Google don't ship the support library to Maven central. You
need build/deploy it locally:
http://aerogear.org/docs/guides/aerogear-android/how-to-build-aerogear-android/


> I'm running in Netbeans 8, btw.  Is Eclipse a requirement due to IDE
> plugin support?
>

No. Netbeans works well.


>
>    <repositories>
>         <repository>
>             <id>jboss-public-repository-group</id>
>             <name>JBoss Public Maven Repository Group</name>
>             <url>
> https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
>             <layout>default</layout>
>             <releases>
>                 <enabled>true</enabled>
>                 <updatePolicy>never</updatePolicy>
>             </releases>
>             <snapshots>
>                 <enabled>true</enabled>
>                 <updatePolicy>never</updatePolicy>
>             </snapshots>
>         </repository>
>     </repositories>
>     <pluginRepositories>
>         <pluginRepository>
>           <id>jboss-public-repository-group</id>
>           <name>JBoss Public Maven Repository Group</name>
>           <url>
> https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
>           <layout>default</layout>
>           <releases>
>             <enabled>true</enabled>
>             <updatePolicy>never</updatePolicy>
>           </releases>
>           <snapshots>
>             <enabled>true</enabled>
>             <updatePolicy>never</updatePolicy>
>           </snapshots>
>         </pluginRepository>
>       </pluginRepositories>
>
>
> It's not necessary

In related news. Take a look of our docs[1], README[2], and example app[3]

[1] http://aerogear.org/docs/guides/aerogear-android/
[2] https://github.com/aerogear/aerogear-android-push/blob/master/README.md
[3] https://github.com/aerogear/aerogear-push-helloworld/tree/master/android

-- Passos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140905/1af13bdb/attachment-0001.html 


More information about the aerogear-dev mailing list