I tried with versions 2.8.0-20151119.055507-99 and 2.8.0-20151118.055323-98 but got the same problem about JSInterop.
Le lundi 23 novembre 2015 10:35:29 UTC+1, josef...@gmail.com a écrit :
-- 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). 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
[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?
Le lundi 23 novembre 2015 10:35:29 UTC+1, josef...@gmail.com 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, josef...@gmail.com 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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment