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/push-gwt.sh (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 https://gwt-review.googlesource.com/14010 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 ---
> Downloading: 
> https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/maven-metadata.xml
> Downloading: 
> http://nexus.codehaus.org/snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/maven-metadata.xml
> Downloading: 
> https://oss.sonatype.org/content/repositories/snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/maven-metadata.xml
> Downloaded: 
> https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/maven-metadata.xml
>  
> (359 B at 0.2 KB/sec)
> [WARNING] Could not transfer metadata 
> com.google.gwt:gwt-dev:2.8.0-SNAPSHOT/maven-metadata.xml from/to 
> codehaus-snapshots (http://nexus.codehaus.org/snapshots/): 
> nexus.codehaus.org
> Downloading: 
> https://oss.sonatype.org/content/repositories/snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.8.0-20151123.054735-102.pom
> Downloading: 
> https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.8.0-20151123.054735-102.pom
> Downloaded: 
> https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.8.0-20151123.054735-102.pom
>  
> (2 KB at 1.9 KB/sec)
> Downloading: 
> http://nexus.codehaus.org/snapshots/com/google/gwt/gwt-user/2.8.0-SNAPSHOT/maven-metadata.xml
> Downloading: 
> https://oss.sonatype.org/content/repositories/snapshots/com/google/gwt/gwt-user/2.8.0-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata 
> com.google.gwt:gwt-user:2.8.0-SNAPSHOT/maven-metadata.xml from/to 
> codehaus-snapshots (http://nexus.codehaus.org/snapshots/): 
> nexus.codehaus.org
> Downloading: 
> https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.8.0-20151123.054735-102.jar
> Downloaded: 
> https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.8.0-20151123.054735-102.jar
>  
> (40815 KB at 1344.7 KB/sec)
> Downloading: 
> https://oss.sonatype.org/content/repositories/snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/maven-metadata.xml
> Downloading: 
> https://oss.sonatype.org/content/repositories/snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-SNAPSHOT.pom
>  
> <https://www.google.com/url?q=https%3A%2F%2Foss.sonatype.org%2Fcontent%2Frepositories%2Fsnapshots%2Fcom%2Fgoogle%2Fgwt%2Fgwt%2F2.8.0-SNAPSHOT%2Fgwt-2.8.0-SNAPSHOT.pom&sa=D&sntz=1&usg=AFQjCNFRfA-T60vWMuhbUi2HiCOzecaJ-g>
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [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 
> com.google.gwt:gwt-user:2.8.0-SNAPSHOT
> [ERROR] [FATAL] Non-resolvable parent POM: Could not find artifact 
> com.google.gwt:gwt:pom:2.8.0-SNAPSHOT in snapshots (
> https://oss.sonatype.org/content/repositories/snapshots/) @ line 6, 
> column 13
> [ERROR] for project com.google.gwt:gwt-user:2.8.0-SNAPSHOT for project 
> com.google.gwt:gwt-user:2.8.0-SNAPSHOT
> [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 com.google.gwt:gwt from google-snapshots.

[1] 
https://gwt-maven-plugin.github.io/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html

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 com.google.jsinterop:jsinterop-annotations 
artifact)

 

>
>
> Le lundi 23 novembre 2015 10:35:29 UTC+1, [email protected] 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, [email protected] 
>>> wrote:
>>>>
>>>> I am using GWT snapshots from 
>>>> https://oss.sonatype.org/content/repositories/google-snapshots/
>>>>
>>>> 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 com.google.jsinterop 
>>>>> artifacts: http://build.gwtproject.org/job/gwt/306
>>>>>
>>>>> Try pinning the previous snapshot (using its time-stamped version) or 
>>>>> build GWT locally and deploy it with the maven/push-gwt.sh 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to