Compilatin mojo fails with "A required class is missing: org/codehaus/plexus/util/xml/XmlStreamReader" [Regression in 2.2.0] ----------------------------------------------------------------------------------------------------------------------------
Key: MGWT-271 URL: http://jira.codehaus.org/browse/MGWT-271 Project: Maven 2.x GWT Plugin Issue Type: Bug Affects Versions: 2.2.0 Reporter: Geoffrey De Smet Just upgraded guvnor locally to gwt 2.2.0 and gwt-maven-plugin 2.2.0 and I get this error: A required class is missing: org/codehaus/plexus/util/xml/XmlStreamReader Since 2.2.0 is just been released, I suspect the 2.2.0 release might be broken? to reproduce: git clone g...@github.com:droolsjbpm/droolsjbpm-build-bootstrap.git droolsjbpm-build-bootstrap cd droolsjbpm-build-bootstrap gedit pom.xml // adjust gwt.version mvn clean install cd .. git clone g...@github.com:droolsjbpm/guvnor.git guvnor cd guvnor gedit pom.xml // adjust gwt-maven-plugin version mvn clean install -DskipTests and you get: [INFO] Guvnor web application ............................ FAILURE [4.641s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.647s [INFO] Finished at: Wed Mar 02 14:42:24 CET 2011 [INFO] Final Memory: 12M/297M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.2.0:compile (default) on project guvnor-webapp: Execution default of goal org.codehaus.mojo:gwt-maven-plugin:2.2.0:compile failed: Unable to load the mojo 'compile' in the plugin 'org.codehaus.mojo:gwt-maven-plugin:2.2.0'. A required class is missing: org/codehaus/plexus/util/xml/XmlStreamReader [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.codehaus.mojo:gwt-maven-plugin:2.2.0 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/home/gdesmet/.m2/repository/org/codehaus/mojo/gwt-maven-plugin/2.2.0/gwt-maven-plugin-2.2.0.jar [ERROR] urls[1] = file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-servlet/2.2.0/gwt-servlet-2.2.0.jar [ERROR] urls[2] = file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-user/2.2.0/gwt-user-2.2.0.jar [ERROR] urls[3] = file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-dev/2.2.0/gwt-dev-2.2.0.jar [ERROR] urls[4] = file:/home/gdesmet/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[project>org.droolsjbpm:guvnor:5.2.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email