Thursday, October 16, 2014

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build



On Thu, Oct 16, 2014 at 11:10 AM, Drew Spencer <slugmandrew@gmail.com> wrote:
I think I'm getting two errors relating to the bugs in the POM that Thomas mentions above:

[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (default-cli) on project UsavAppV7: Failed to resolve artifact: Some problems were encountered while processing the POMs:
[ERROR] [ERROR] Non-resolvable import POM: Failure to find com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced @ com.google.gwt:gwt:2.7.0-SNAPSHOT, C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom, line 50, column 25
[ERROR] [ERROR] Non-resolvable import POM: Could not find artifact org.ow2.asm:asm-parent:pom:5.0.3 @ com.google.gwt:gwt:2.7.0-SNAPSHOT, C:\Users\Drew\.m2\repository\com\google\gwt\gwt\2.7.0-SNAPSHOT\gwt-2.7.0-SNAPSHOT.pom, line 74, column 25

I have tried adding gwt-dev, gwt-codeserver, and the asm dependency but still getting it. Also tried forcing an update of snapshots/releases but no change.

I'm still a bit green when it comes to maven.


Which version of Maven are you using? Also, have you configured the google-snapshots both as a repository and pluginRepository? (I think this is needed for the plugin to resolve its dependencies)

I was fighting yesterday with a discrepancy between Maven 3.0.5 and 3.1 / 3.2 with the maven-invoker-plugin (used to run tests of the gwt-maven-plugin): things passed with 3.1 (on BuildHive) and 3.2 (on Travis-CI) but failed on my machine (3.0.5). Trying with 3.2.3 on my machine, things worked. The error was exactly the same wrt com.google.web.bindery:requestfactory.

The error about ASM is strange though, it's in Central so it should Just Work™, unless you have some repository/mirror configuration getting in the way?


--
Thomas Broyer
/tɔ.ma.bʁwa.je/

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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