gwt-maven-plugin snapshots are deployed to codehaus, but the plugin depends on GWT snapshots which are at sonatype, and Maven thus uses the pluginRepositories to download them as dependencies of the gwt-maven-plugin (it doesn't look like it uses the repositories listed in gwt-maven-plugin's own POM).
Does it change anything if you declare google-snapshots as a pluginRepository as well? On Thu, Oct 16, 2014 at 1:42 PM, Ümit Seren <uemit.se...@gmail.com> wrote: > I have the same issue with maven 3.0.5 > > [ERROR] Failed to execute goal > org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (gwt-compile) on > project genophenbrowser-client: Failed to resolve artifact: Some problems > were encountered while processing the POMs: > [ERROR] [ERROR] Non-resolvable import POM: Could not find artifact > com.google.web.bindery:requestfactory:pom:2.7.0-SNAPSHOT in > sonatype-nexus-snapshots ( > https://oss.sonatype.org/content/repositories/snapshots) @ > com.google.gwt:gwt:2.7.0-SNAPSHOT, > /home/GMI/uemit.seren/.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, > /home/GMI/uemit.seren/.m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom, > line 74, column 25 > [ERROR] for project > [ERROR] -> [Help 1] > [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/MojoExecutionException > uemit.seren@gmi-lws06:~/eclipse_workspaces/intellij/genophenbrowser/genophenbrowser-client$ > mvn --version > Apache Maven 3.0.5 > Maven home: /usr/share/maven > Java version: 1.7.0_72, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-7-oracle/jre > Default locale: de_DE, platform encoding: UTF-8 > OS name: "linux", version: "3.13.0-37-generic", arch: "amd64", family: > "unix" > > > This is how the repositories look like > > <pluginRepositories> > <pluginRepository> > <id>codehaus-snapshots</id> > <url> > https://nexus.codehaus.org/content/groups/snapshots-group/</url> > <releases> > <enabled>false</enabled> > </releases> > <snapshots> > <enabled>true</enabled> > </snapshots> > </pluginRepository> > </pluginRepositories> > > > <repositories> > <repository> > <id>google-snapshots</id> > <url> > https://oss.sonatype.org/content/repositories/google-snapshots/</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>false</enabled> > </releases> > </repository> > </repositories> > > > When I checked the > https://gwt.googlesource.com/gwt/+/master/samples/dynatablerf/pom.xml > sample it had also the <url> > https://oss.sonatype.org/content/repositories/google-snapshots/</url> as > a pluginRepository ? > > Where do you deploy the latest gwt-maven snapshot to sonatype or codehaus > ? > > > > On Thursday, October 16, 2014 11:38:27 AM UTC+2, Thomas Broyer wrote: > >> >> >> On Thu, Oct 16, 2014 at 11:10 AM, Drew Spencer <slugm...@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/ <http://xn--nna.ma.xn--bwa-xxb.je/> >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Google Web Toolkit" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/google-web-toolkit/LwXXQCG_I_k/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > google-web-toolkit+unsubscr...@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. > -- Thomas Broyer /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.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+unsubscr...@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.