Monday, November 23, 2015

Re: JsInterop Maven fail

I can't get this mess to work with Gradle.

No matter what versions I put in I get messages about jsinterop not being found.

Could someone "fix" the maven snaptop repo to point the "-SNAPSHOT" back to the known working 19th version?

Or perhaps put in a "RC1" POM that references the last known working copy of 19th?


On 11/23/2015 09:42 AM, Thomas Broyer wrote:

On Monday, November 23, 2015 at 2:19:51 PM UTC+1, Bruno Salmon wrote:
I tried with versions 2.8.0-20151119.055507-99 and 2.8.0-20151118.055323-98 but got the same problem about JSInterop.

It can't be the same problem, as in those versions the jsinterop annotations hadn't been split out into their own JAR.
Earlier versions have no pom file (only pom.asc file) so maven can't load them.

So I tried the other way you suggested and successfully built GWT locally. I finally got jsInterop 1.0.0-SNAPSHOT installed locally using maven/ (curiously the gwt version was also 1.0.0-SNAPSHOT in the local maven repository instead of 2.8.0-SNAPHOT).

Yes, there's a small bug in the script unfortunately (and then another problem); apply locally (you'll find Git commands copy-paste-ready in the "download" drop down menu on the right)
However maven was then able to download the gwt-user 2.8.0-SNAPSHOT dependency without complaining this time about JSInterop (thanks to the local install). But finally the gwt maven plugin ended with an error:

[INFO] --- gwt-maven-plugin:2.8.0-SNAPSHOT:compile (default) @ naga-gwt ---
[WARNING] Could not transfer metadata from/to codehaus-snapshots (
[WARNING] Could not transfer metadata from/to codehaus-snapshots (
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.506s
[INFO] Finished at: Mon Nov 23 13:59:05 CET 2015
[INFO] Final Memory: 10M/27M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.8.0-SNAPSHOT:compile (default) on project naga-gwt: Failed to resolve artifact: 1 problem was encountered while building the effective model for
[ERROR] [FATAL] Non-resolvable parent POM: Could not find artifact in snapshots ( @ line 6, column 13
[ERROR] for project for project
[ERROR] -> [Help 1]

Any idea?

Did you override the versions in the plugin dependencies too? [1] It shouldn't have even tried downloading those (and you can notice it downloaded the latest, broken snapshots) and/or should have tried downloading from google-snapshots.

I'm sorry for the inconvenience but this is all really temporary and a matter of a days before it's resolved (if needed, we'd –temporarily– revert the patch that created the artifact)


Le lundi 23 novembre 2015 10:35:29 UTC+1, a écrit :
Thank you Thomas, as you probably figured, I thought I had to pin jsinterop :)

On Monday, November 23, 2015 at 10:12:28 AM UTC+1, Thomas Broyer wrote:

On Monday, November 23, 2015 at 9:51:28 AM UTC+1, wrote:
I am using GWT snapshots from

Where can I find a working jsinterop?

Pin an earlier snapshot that works; e.g. <version>2.8.0-20151119.055507-99</version> for gwt-user (this is where the issue is, it should work with the latest snapshot of gwt-dev, but if you want to use the gwt-dev from the same build, then use <version>2.8.0-20151123.054735-102</version> for gwt-dev).
On Saturday, November 21, 2015 at 2:55:27 PM UTC+1, Thomas Broyer wrote:
We're having an error deploying the new artifacts:

Try pinning the previous snapshot (using its time-stamped version) or build GWT locally and deploy it with the maven/ script.

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment