Can anyone share their thoughts on how to use gwtjackson with the new gwt 
maven plugin?

I am including the dependency as:

<dependency>
    <groupId>com.github.nmorel.gwtjackson</groupId>
    <artifactId>gwt-jackson</artifactId>
    <version>0.13.1-SNAPSHOT</version>
</dependency>


And then in my *.gwt.xml

<inherits name="com.github.nmorel.gwtjackson.GwtJackson"/>


I also tried to explicitly include the jackson annotations so sources are 
available and GWT compiler doesn't complain:

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-annotations</artifactId>
    <version>2.8.2</version>
    <classifier>sources</classifier>
</dependency>


Still no luck.

This used to work seamlessly with the mojos gwt plugin before by including 
the following dependency:


<dependency>
    <groupId>com.github.nmorel.gwtjackson</groupId>
    <artifactId>gwt-jackson</artifactId>
    <version>0.13.1-SNAPSHOT</version>
    <scope>provided</scope>
</dependency>


Thanks,
Harsh

On Monday, September 12, 2016 at 9:23:45 AM UTC-4, harshyadav wrote:
>
> Yes, thats correct.
> The issue is with including jackson annotation sources, which works fine 
> otherwise in gwtjackson.
>
>
> On Monday, September 12, 2016 at 3:42:54 AM UTC-4, DavidN wrote:
>>
>> As far as I know GWT does not emulate String.format.
>>
>> On Sun, 11 Sep 2016 at 22:49, harshyadav <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I am trying to migrate to the gwt-maven-plugin (net.ltgt.gwt.maven).
>>>
>>> With a few hiccups and reading thru the documentation, I am able to get 
>>> a modular app up and running.
>>>
>>> However, with gwtjackon am not able to include the jackson annotation 
>>> sources thru maven dependencies.
>>>
>>> [INFO]    Tracing compile failure path for type 
>>> 'com.fasterxml.jackson.annotation.JsonIgnoreProperties'
>>>
>>> [INFO]       [ERROR] Errors in 
>>> 'com/fasterxml/jackson/annotation/JsonIgnoreProperties.java'
>>>
>>> [INFO]          [ERROR] Line 374: The method format(String, Set<String>, 
>>> boolean, boolean, boolean, boolean) is undefined for the type String
>>>
>>> [INFO]    Module setup completed in 7807 ms
>>>
>>>
>>>
>>> Any help on this would be great!
>>>
>>>
>>> Thanks.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to