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.

On Monday, September 5, 2016 at 7:01:01 PM UTC+2, Colin Alworth wrote:
>
> 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/
> Uploading: 
> https://oss.sonatype.org/content/repositories/google-snapshots//com/google/jsinterop/jsinterop/1.0.0-SNAPSHOT/jsinterop-1.0.0-20160905.055744-4.pom
> 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/
> Uploading: 
> https://oss.sonatype.org/content/repositories/google-snapshots//com/google/jsinterop/jsinterop-annotations/1.0.0-SNAPSHOT/jsinterop-annotations-1.0.0-20160905.055746-4.jar
> 3/3K
> 3K uploaded  (jsinterop-annotations-1.0.0-20160905.055746-4.jar)
> Uploading: 
> https://oss.sonatype.org/content/repositories/google-snapshots//com/google/jsinterop/jsinterop-annotations/1.0.0-SNAPSHOT/jsinterop-annotations-1.0.0-20160905.055746-4-sources.jar
> 4/8K
> 8/8K
> 8/8K
> 8K uploaded  (jsinterop-annotations-1.0.0-20160905.055746-4-sources.jar)
> Uploading: 
> https://oss.sonatype.org/content/repositories/google-snapshots//com/google/jsinterop/jsinterop-annotations/1.0.0-SNAPSHOT/jsinterop-annotations-1.0.0-20160905.055746-4-javadoc.jar
> 607/607b
> 607b uploaded  (jsinterop-annotations-1.0.0-20160905.055746-4-javadoc.jar)
>
>
>
> But the jars can't be found in maven 
> https://oss.sonatype.org/content/repositories/google-snapshots/com/google/jsinterop/jsinterop/,
>  
> and the latest bom depends on it 
> https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-20160905.055656-339.pom
>
> <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?
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/21491550-2efa-4840-92a5-d0fdcfde4e6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to