Looks like codehaus's snapshot repo is down, so I'm unable to get the latest gwt-maven-plugin. This url gives a 504 gateway timeout from ngnix for me: https://nexus.codehaus.org/content/groups/snapshots-group/org/codehaus/mojo/gwt-maven-plugin/2.7.0-SNAPSHOT/maven-metadata.xml
If I set gwt-user and gwt-servlet to 2.7.0-SNAPSHOT and gwt-maven-plugin to 2.6.1, I get the NoClassDefFoundError: [INFO] Caused by: java.lang.ClassNotFoundException: org.objectweb.asm. MethodVisitor [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [INFO] at java.security.AccessController.doPrivileged(Native Method) [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [INFO] ... 62 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.640s [INFO] Finished at: Thu Oct 16 17:28:18 CDT 2014 [INFO] Final Memory: 15M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.6.1:compile (default) on project rpq-samples: Command [[ [ERROR] /bin/sh -c /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/ Contents/Home/bin/java -Xmx512m -classpath /Users/colin/Documents/idea/gwt- rpq/rpq-samples/target/classes:/Users/colin/Documents/idea/gwt-rpq/rpq- samples/src/main/java:/Users/colin/.m2/repository/com/google/gwt/gwt-user/ 2.7.0-SNAPSHOT/gwt-user-2.7.0-SNAPSHOT.jar:/Users/colin/.m2/repository/javax /validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/Users/colin /.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0. 0.GA-sources.jar:/Users/colin/.m2/repository/org/json/json/20090211/json- 20090211.jar:/Users/colin/.m2/repository/com/google/gwt/gwt-servlet/2.7.0- SNAPSHOT/gwt-servlet-2.7.0-SNAPSHOT.jar:/Users/colin/.m2/repository/com/ colinalworth/rpq/0.0.1-SNAPSHOT/rpq-0.0.1-SNAPSHOT.jar:/Users/colin/.m2/ repository/com/google/gwt/gwt-user/2.7.0-SNAPSHOT/gwt-user-2.7.0-SNAPSHOT. jar:/Users/colin/.m2/repository/com/google/gwt/gwt-dev/2.7.0-SNAPSHOT/gwt- dev-2.7.0-SNAPSHOT.jar com.google.gwt.dev.Compiler -logLevel INFO -style OBF -war /Users/colin/Documents/idea/gwt-rpq/rpq-samples/target/rpq-samples- 0.0.1-SNAPSHOT -localWorkers 2 -XfragmentCount -1 -sourceLevel auto -gen / Users/colin/Documents/idea/gwt-rpq/rpq-samples/target/.generated com. colinalworth.rpqsample.demo.HelloWorld com.colinalworth.rpqsample.defer. SimpleAutoBatching All GWT copies on the classpath are 2.7.0-SNAPSHOT, its just building under gwt-m-p 2.6.1. Is this really expected? I'm probably misunderstanding how scope=import works and its importance (ha) to the build, but the strong implication seems to be that gwt-m-p is pulling in gwt-dev, but not transitive dependencies. Pre-send edit: codehaus is back, pulling down results now. As with others, I am getting that org.ow2.asm:asm-parent:pom:5.0.3 is inexplicably missing, even if I delete it from my .m2/repository and the build *downloads* it, it claims it can't find it. Full gist from debug log: https://gist.github.com/niloc132/da63de6d8e8da90f49d7 Selected bits: [DEBUG] Verifying availability of /Users/colin/.m2/repository/org/ow2/asm/ asm-parent/5.0.3/asm-parent-5.0.3.pom from [sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, snapshots)] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.792s [INFO] Finished at: Thu Oct 16 17:38:45 CDT 2014 [INFO] Final Memory: 19M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0- SNAPSHOT:compile (default) on project rpq-samples: Failed to resolve artifact: Some problems were encountered while processing the POMs: [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, /Users/colin/. m2/repository/com/google/gwt/gwt/2.7.0-SNAPSHOT/gwt-2.7.0-SNAPSHOT.pom, line 74, column 25 Is there any chance that this is a 'feature' of scope=import, that you have to pull content from the same repos that the import'd pom came from, and that you can't get it from even the other defaults? For reference sake, the project I'm building is https://github.com/niloc132/gwt-rpq on the 2.7.0 branch - first build rpq itself (gwt vers doesnt matter), then build gwt-rpq. Maven version included in the gist above. On Thursday, October 16, 2014 4:56:53 PM UTC-5, Brandon Donnelson wrote: > > Thomas I'm noticing the issue coming up on my config. I haven't drilled > down to why yet. I copied the samples config. > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 18.212 s > [INFO] Finished at: 2014-10-16T14:49:33-08:00 > [INFO] Final Memory: 34M/448M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (default) on > project MyGxtProject31: Failed to resolve artifact: Some problems were > encountered while processing the POMs: > [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, > /Users/branflake2267/.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 > Brandons-MacBook-Pro:GxtProject31 branflake2267$ maven version > -bash: maven: command not found > Brandons-MacBook-Pro:GxtProject31 branflake2267$ mvn -version > Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; > 2014-02-14T09:37:52-08:00) > Maven home: /usr/local/Cellar/maven/3.2.1/libexec > Java version: 1.7.0_40-ea, vendor: Oracle Corporation > Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac" > Brandons-MacBook-Pro:GxtProject31 branflake2267$ > > -- 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.
