On Wed, Oct 16, 2013 at 3:39 PM, Douglas Campos <qmx@qmx.me> wrote:
On Wed, Oct 16, 2013 at 07:36:43AM +0200, Matthias Wessendorf wrote:
> On Wed, Oct 16, 2013 at 6:21 AM, Daniel Passos <daniel@passos.me> wrote:
> >    Caused by: java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
> >      at org.jboss.aerogear.unifiedpush.SenderClient.transformJSON(SenderClient.java:205) [unified-push-java-client-0.2.2.jar:0.2.2]
> >
> Hrm - looks like your dependencies are not right

Looks like we're assuming it runs on JBoss EAP/Wildfly/AS7 and not
documenting it properly :(

well, not on purpose...

But looks like we should add in the readme that outside of JBoss EAP/Wildfly/AS7 this guys is needed:
https://github.com/aerogear/aerogear-unifiedpush-java-client/blob/master/pom.xml#L62-L67
 
OR !!!

we include 'straight' Jackson, and ask folks on JBoss EAP/Wildfly/AS7 to exclude it, like:
<dependency>
  <groupId>org.jboss.aerogear.unifiedpush</groupId>
  <artifactId>unified-push-java-client</artifactId>
  <exclusions>
    <exclusion>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>SOMEARTIFACT</artifactId>
    </exclusion>
  </exclusions>
</dependency>
 

Both ways are fine w/ me.





--
qmx

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf