Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4794

'org.apache.maven.plugins:maven-install-plugin:2.3.1'. A required class is missing: org.codehaus.plexus.digest.Digester

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.0-beta-3
    • 3.0
    • None
    • None
    • Linux 2.6.27.48-0.6-pae #1 SMP 686 athlon i386 GNU/Linux - SUSE Linux Enterprise Server 11.
      Java 1.6.0_21 Sun

    Description

      This error doesn't show up on Windows with maven 3 beta-3, Java 1.6.0_21 !!!
      This error also doesn't show up with maven 3 beta-2 on Linux and Windows, both Java 1.6.0_21.

      I switched from maven 3 beta-2 to beta-3 and got this error.
      I deleted the complete .m2/repository/ but nothing changed.

      Only on Linux with maven 3 beta-3 I can reproduce this error:
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project nivadis: Execution default-install of goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install failed: Unable to load the mojo 'install' in the plugin 'org.apache.maven.plugins:maven-install-plugin:2.3.1'. A required class is missing: org.codehaus.plexus.digest.Digester
      -----------------------------------------------------
      realm = plugin>org.apache.maven.plugins:maven-install-plugin:2.3.1
      strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      urls[0] = file:/home/vbs/.m2/repository/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.jar
      urls[1] = file:/home/vbs/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
      Number of foreign imports: 4
      import: Entry[import org.codehaus.plexus.util.xml.pull.XmlSerializer from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParserException from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParser from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.util.xml.Xpp3Dom from realm ClassRealm[plexus.core, parent: null]]

      realm = maven.api
      strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      Number of foreign imports: 21
      import: Entry[import org.sonatype.aether from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.personality from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.logging from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.lifecycle from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.context from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.container from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.configuration from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.component from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.classworlds from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.PlexusContainerException from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.PlexusContainer from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.PlexusConstants from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.MutablePlexusContainer from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.DuplicateChildContainerException from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.DefaultPlexusContainer from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.DefaultContainerConfiguration from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.DefaultComponentRegistry from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.ContainerConfiguration from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.plexus.ComponentRegistry from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.codehaus.classworlds from realm ClassRealm[plexus.core, parent: null]]
      import: Entry[import org.apache.maven from realm ClassRealm[plexus.core, parent: null]]

      -----------------------------------------------------
      -> [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/PluginContainerException

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              ajoe04 ajoe04
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: