Missing JsInterop 1.0.0-SNAPSHOT

190 views
Skip to first unread message

Colin Alworth

unread,
Sep 5, 2016, 1:01:01 PM9/5/16
to GWT Contributors
Looks like somehow the JsInterop jars are missing from the google-snapshots repo now, making it difficult to use the latest nightlies.

http://build.gwtproject.org/job/gwt/615/console shows creating, signing, and deploying:
Signing and Deploying ./poms/jsinterop/pom.xml to https://oss.sonatype.org/content/repositories/google-snapshots/
1/1K
1K uploaded  (jsinterop-1.0.0-20160905.055744-4.pom)
Signing and Deploying /tmp/random-dir-2498515708877027498/gwt-2.8.0-SNAPSHOT/jsinterop-annotations.jar to https://oss.sonatype.org/content/repositories/google-snapshots/
3/3K
3K uploaded  (jsinterop-annotations-1.0.0-20160905.055746-4.jar)
4/8K
8/8K
8/8K
8K uploaded  (jsinterop-annotations-1.0.0-20160905.055746-4-sources.jar)
607/607b
607b uploaded  (jsinterop-annotations-1.0.0-20160905.055746-4-javadoc.jar)




<dependency>
  <groupId>com.google.jsinterop</groupId>
  <artifactId>jsinterop</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <type>pom</type>
  <scope>import</scope>
</dependency>



Oddly enough, there is a 1.0.0.j7-SNAPSHOT, apparently generated and deployed from http://build.gwtproject.org/job/gwt-java7/, but unless you happen to use GWT 2.8.0.j7-SNAPSHOT, this isn't terribly useful.

Any ideas how this might have disappeared (as well as all old versions), despite apparently being deployed fresh about 12 hrs ago?

Thomas Broyer

unread,
Sep 13, 2016, 10:04:47 AM9/13/16
to GWT Contributors
Could it be because version 1.0.0 is already on Central? Should we try deploying 1.0.1-SNAPSHOT or 1.1.0-SNAPSHOT instead?

Anyway, the workaround (given that jsinterop annotations haven't changed for months) is to force using 1.0.0 instead of 1.0.0-SNAPSHOT.

The following seems to work for Maven:

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>com.google.gwt</groupId>
      <artifactId>gwt</artifactId>
      <version>2.8.0-SNAPSHOT</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
    <dependency>
      <groupId>com.google.jsinterop</groupId>
      <artifactId>jsinterop</artifactId>
      <version>1.0.0</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

…well, except that now it cannot resolve gwt-servlet!
So it might really actually be a Sonatype OSSRH (configuration?) issue.

Also, not sure that even declaring the com.google.jsinterop:jsinterop-annotations:1.0.0 and com.google.jsinterop:jsinterop-annotations:1.0.0:sources (and possibly com.google.jsinterop:jsinterop:1.0.0@pom) as plugin dependencies would work with Mojo's Maven Plugin for GWT.
Reply all
Reply to author
Forward
0 new messages