On Sunday, July 3, 2016 at 1:18:28 PM UTC+2, Jakob Jarosch wrote:
>
> It seems that the deployed dependency is inconsistent.
> The pom.xml says "elemental-experimental" with version "2016-06-30".
> But the dependency is available as "elemental2-experimental" with version 
> "16-06-30".
>

Wow, and Sonatype let it go in?! Looks like they need better checks.
Reported as https://issues.sonatype.org/browse/MVNCENTRAL-1166
 

> So gradle is not able to resolve the dependency.
>
> Warning:project ':frontend': Web Facets/Artifacts will not be configured 
> properly
> Details: org.gradle.api.artifacts.ResolveException: Could not resolve all 
> dependencies for configuration ':frontend:runtime'.
> Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: 
> Could not resolve com.google.gwt:elemental2-experimental:16-06-30.
> Required by:
>     itdidea:frontend:unspecified
> Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: 
> Could not resolve com.google.gwt:elemental2-experimental:16-06-30.
> Caused by: 
> org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.MetaDataParseException:
>  
> inconsistent module metadata found. Descriptor: 
> com.google.gwt:elemental-experimental:2016-06-29 Errors: bad module name: 
> expected='elemental2-experimental' found='elemental-experimental'
> bad version: expected='16-06-30' found='2016-06-29'
>

Fortunately, Gradle is flexible enough.
Because elemental2-experimental has no dependency, I think you can use 
'com.google.gwt:elemental2-experimental:16-06-30@jar', or alternatively use 
a "client module" with the 
module('com.google.gwt:elemental2-experimental:16-06-30') notation 
(difference with the "@jar" is that you can declare dependencies of the 
module, thereby replacing the bad POM with your own module definition). 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/68880f90-49d6-4347-8b1c-27f5ed219582%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to