Saturday, November 21, 2015

JsInterop Maven fail

[INFO] Scanning for projects...

Downloading: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/maven-metadata.xml

Downloaded: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/maven-metadata.xml (355 B at 0.2 KB/sec)

Downloading: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-20151121.054735-100.pom

Downloaded: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-20151121.054735-100.pom (0 B at 0.0 KB/sec)

Downloading: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/web/bindery/requestfactory/2.8.0-SNAPSHOT/maven-metadata.xml

Downloaded: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/web/bindery/requestfactory/2.8.0-SNAPSHOT/maven-metadata.xml (374 B at 1.3 KB/sec)

Downloading: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/web/bindery/requestfactory/2.8.0-SNAPSHOT/requestfactory-2.8.0-20151121.054813-100.pom

Downloaded: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/web/bindery/requestfactory/2.8.0-SNAPSHOT/requestfactory-2.8.0-20151121.054813-100.pom (0 B at 0.0 KB/sec)

Downloading: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/jsinterop/jsinterop/1.0.0-SNAPSHOT/maven-metadata.xml

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR] The project com.example:moe:1.0-SNAPSHOT (/Users/my/git/location/projectname/pom.xml) has 4 errors

[ERROR] Non-resolvable import POM: Failure to find com.google.jsinterop:jsinterop:pom:1.0.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/google-snapshots was cached in the local repository, resolution will not be reattempted until the update interval of snapshots-repo has elapsed or updates are forced @ com.google.gwt:gwt:2.8.0-SNAPSHOT, /Users/foo/.m2/repository/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-SNAPSHOT.pom, line 57, column 25 -> [Help 2]

[ERROR] 'dependencies.dependency.version' for com.google.gwt:gwt-servlet:jar is missing. @ line 38, column 17

[ERROR] 'dependencies.dependency.version' for com.google.gwt:gwt-user:jar is missing. @ line 43, column 17

[ERROR] 'dependencies.dependency.version' for com.google.gwt:gwt-dev:jar is missing. @ line 48, column 17

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Hi all,

today when I tried to do a mvn clean install I notice some errors in my build related with JsInterop classes..

So, I created a project from scratch using the Maven Archetype:
mvn archetype:generate \     -DarchetypeGroupId=org.codehaus.mojo \     -DarchetypeArtifactId=gwt-maven-plugin \     -DarchetypeVersion=2.8.0-SNAPSHOT
And I receive the next error (whole stack trace attached): 
 
[ERROR]     Non-resolvable import POM: Failure to find com.google.jsinterop:jsinterop:pom:1.0.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/google-snapshots was cached in the local repository, resolution will not be reattempted until the update interval of snapshots-repo has elapsed or updates are forced @ com.google.gwt:gwt:2.8.0-SNAPSHOT, /Users/foo/.m2/repository/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-SNAPSHOT.pom, line 57, column 25 -> [Help 2]

After taking a quick look I realised that inside of the gwt-user.jar the jsinterop folder has been removed in the last snapshot (on the 19th of November it was still there).

So, I think that is some kind of sonatype/maven error updating libraries and should be fixed soon. If not, do you know any workaround?

Thanks for your time,

Adolfo.

--
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