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. On Sunday, 12 October 2014 20:02:49 UTC+1, Thomas Broyer wrote: > > Yes, there's actually a bug in the parent POM: > https://gwt-review.googlesource.com/9642 > > (note: you need more than asm –see POM–, but possibly only under some > conditions – classic DevMode?) > > On Sun, Oct 12, 2014 at 8:53 PM, Ramon Salla <[email protected] > <javascript:>> wrote: > >> Adding http://mvnrepository.com/artifact/org.ow2.asm/asm/5.0.3 it worked >> again. >> >> >> >> El diumenge 12 d’octubre de 2014 10:35:09 UTC+2, Thomas Broyer va >> escriure: >> >>> Hi all, >>> >>> If you're using 2.7.0-SNAPSHOT, your build might start failing as of >>> today as we started unbundling dependencies from gwt-dev as published to >>> the Central Repository. >>> >>> java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor >>> >>> >>> If you get this error, be sure to also update your gwt-maven-plugin to >>> the latest 2.7.0-SNAPSHOT too. >>> >>> If that doesn't work, add gwt-dev or (better) gwt-codeserver as a >>> project dependency (and report the problem to https://groups.google.com/ >>> d/forum/codehaus-mojo-gwt-maven-plugin-users). This is likely to become >>> the preferred way to use GWT in the future, and the gwt-maven-plugin might >>> stop automatically adding GWT deps to the classpath in gwt:compile or >>> gwt:run in a future version (probably not 2.7 though): as we'll unbundle >>> more dependencies from gwt-dev (and gwt-user), you might want to gain >>> control over those dependencies (e.g. using a newer version of Guava, or >>> ASM, etc.) and this is not possible with plugin dependencies as it's done >>> today within the gwt-maven-plugin. >>> >>> Also noteworthy: that same change also turned com.google.gwt:gwt into a >>> BOM (bill of material); that means that instead of including the <version> >>> in all your GWT dependencies you can now declare com.google.gwt:gwt into >>> your dependencyManagement section with <scope>import</scope>. As a bonus, >>> it should ensure transitive dependencies to GWT will all use the same >>> version, so you'll have fewer risks of conflicts. >>> >>> I'll soon update the GWT samples, WebAppCreator templates and various >>> archetypes to use those new "best practices". >>> >> -- >> 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 >> [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
