Changing the plugin version back to 2.7.0 gives this: [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0:compile (default) on project app: Failed to resolve artifact: 1 problem was encountered while building the effective model for com.google.gwt:gwt-user:2.8.0-SNAPSHOT [ERROR] [FATAL] Non-resolvable parent POM: Could not find artifact com.google.gwt:gwt:pom:2.8.0-SNAPSHOT @ line 6, column 13 [ERROR] for project com.google.gwt:gwt-user:2.8.0-SNAPSHOT for project com.google.gwt:gwt-user:2.8.0-SNAPSHOT
If you have a working project which is building OK with 2.8.0-SNAPSHOT, can I see its pom.xml please? Thanks. On Monday, July 27, 2015 at 8:25:42 PM UTC+5, Ali Akhtar wrote: > > Since a few days ago, my maven build with 2.8.0-SNAPSHOT dependency has > been failing, with the following error: > > [ERROR] Errors in > 'jar:file:/home/ali/.m2/repository/com/google/gwt/gwt-user/2.7.0/gwt-user-2.7.0.jar!/com/google/gwt/emul/java/util/InternalJsHashCodeMap.java' > [INFO] [ERROR] Line 120: The method elementAdded() is undefined > for the type AbstractHashMap<K,V> > [INFO] [ERROR] Line 137: The method elementRemoved() is undefined > for the type AbstractHashMap<K,V> > > Assuming that the gwt-maven-plugin is pulling in 2.7.0, I added > gwt-user-2.8.0-SNAPSHOT and gwt-dev-2.8.0-SNAPSHOT as deps to the plugin: > https://gist.github.com/aliakhtar/1f1b51d04a3465d27bb4 > > However, the build is still failing, this time with the following error: > > [ERROR] Failed to execute goal > org.codehaus.mojo:gwt-maven-plugin:2.7.0:compile (default) on project app: > Failed to resolve artifact: 1 problem was encountered while building the > effective model for com.google.gwt:gwt-user:2.8.0-SNAPSHOT > [ERROR] [FATAL] Non-resolvable parent POM: Could not find artifact > com.google.gwt:gwt:pom:2.8.0-SNAPSHOT @ line 6, column 13 > [ERROR] for project com.google.gwt:gwt-user:2.8.0-SNAPSHOT for project > com.google.gwt:gwt-user:2.8.0-SNAPSHOT > > Has anything happened recently which may have caused it to break? > > This is my full pom: > https://gist.github.com/aliakhtar/d6f104f854c5e3764d72 > > I'd appreciate any help getting this to build again, thanks. > > -- 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/b13cd199-e459-4104-9c69-3bd3d9c95454%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
