Mojo's GWT Maven Plugin
  1. Mojo's GWT Maven Plugin
  2. MGWT-271

Compilatin mojo fails with "A required class is missing: org/codehaus/plexus/util/xml/XmlStreamReader" [Regression in 2.2.0]

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Labels:
      None
    • Number of attachments :
      0

      Description

      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 git@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 git@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]]]

        Activity

        Hide
        Arnaud Heritier added a comment -

        http://repository.jboss.org/nexus/content/groups/public/org/codehaus/mojo/gwt-maven-plugin/2.2.0/gwt-maven-plugin-2.2.0.pom?describe
        responseUid":"thirdparty-uploads:/org/codehaus/mojo/gwt-maven-plugin/2.2.0/gwt-maven-plugin-2.2.0.pom

        Show
        Arnaud Heritier added a comment - http://repository.jboss.org/nexus/content/groups/public/org/codehaus/mojo/gwt-maven-plugin/2.2.0/gwt-maven-plugin-2.2.0.pom?describe responseUid":"thirdparty-uploads:/org/codehaus/mojo/gwt-maven-plugin/2.2.0/gwt-maven-plugin-2.2.0.pom
        Hide
        Geoffrey De Smet added a comment - - edited

        @Oliver I agree. I 've notified Paul Gier and John Casey (our internal Red Hat maven experts).
        They 'll probably clear the jboss nexus cache soon, but that still means that all people that have already downloaded it from there will need to clear their local repository. I believe this might be a bug in Nexus (we're running 1.7.1).

        @Arnaud What does that URL mean? Did someone manually upload that pom and/or it's jar?

        Show
        Geoffrey De Smet added a comment - - edited @Oliver I agree. I 've notified Paul Gier and John Casey (our internal Red Hat maven experts). They 'll probably clear the jboss nexus cache soon, but that still means that all people that have already downloaded it from there will need to clear their local repository. I believe this might be a bug in Nexus (we're running 1.7.1). @Arnaud What does that URL mean? Did someone manually upload that pom and/or it's jar?
        Hide
        Paul Gier added a comment -

        The ?describe URL gives meta information about the artifact. It shows that this artifact has not been proxied, it is located in our "thirdparty-uploads" repository. So it's not an issue with the proxy/cache.

        Show
        Paul Gier added a comment - The ?describe URL gives meta information about the artifact. It shows that this artifact has not been proxied, it is located in our "thirdparty-uploads" repository. So it's not an issue with the proxy/cache.
        Hide
        Geoffrey De Smet added a comment -

        Makes sense. Is there anyway we can find out who did the upload and when? If we can't notify that person, there's a chance he/she does it again.

        Show
        Geoffrey De Smet added a comment - Makes sense. Is there anyway we can find out who did the upload and when? If we can't notify that person, there's a chance he/she does it again.
        Hide
        Geoffrey De Smet added a comment -

        Paul's blog post send to the jboss developers to avoid that this happens again:
        http://community.jboss.org/en/build/blog/2011/03/09/quick-guidelines-for-uploading-artifacts

        Show
        Geoffrey De Smet added a comment - Paul's blog post send to the jboss developers to avoid that this happens again: http://community.jboss.org/en/build/blog/2011/03/09/quick-guidelines-for-uploading-artifacts

          People

          • Assignee:
            Unassigned
            Reporter:
            Geoffrey De Smet
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: