You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jochen Stiepel (JIRA)" <ji...@codehaus.org> on 2010/09/08 09:48:32 UTC

[jira] Commented: (MNG-4794) 'org.apache.maven.plugins:maven-install-plugin:2.3.1'. A required class is missing: org.codehaus.plexus.digest.Digester

    [ http://jira.codehaus.org/browse/MNG-4794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234550#action_234550 ] 

Jochen Stiepel commented on MNG-4794:
-------------------------------------

I checked the pom with different tools in different ways (checksum, differ, bytes-size) - they all say the pom's on this computer and on my windows computer are the same.

Steps's I already did:
1.) deleted .m2/repository/
2.) run Maven 3 Beta-2 mvn clean install - all jar's are downloaded, no failure.
3.) change to Maven 3 Beta-3.
4.) run Maven 3 Beta-3 mvn clean install (with the same files inside the repository) it throws this error MNG-4794
5.) run Maven 3 Beta-3 mvn clean package it throws the error MNG-4798
Environment: Suse Linux Enterprise (SLES) 11, Sun Java 1.6.0_21

I tried using Ubuntu (10.10 beta) on my Notebook, with Sun Java 1.6.0_21 it works.

Summary:
On my SLES Server it works with Maven 3 Beta-2 but it doesn't work with Beta-3. 
Maven 3 Beta-3 works fine on my WinXP and Ubuntu Installation. All used the same Java Version.

Possibly causes:
- SELS Server 11 - because until now it only happens there.
- Changes inside Maven - because it works fine with Beta-2 but not Beta-3.

I'll try to provide debug output from the Beta-2 and Beta-3 run.


> 'org.apache.maven.plugins:maven-install-plugin:2.3.1'. A required class is missing: org.codehaus.plexus.digest.Digester
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4794
>                 URL: http://jira.codehaus.org/browse/MNG-4794
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-3
>         Environment: 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
>            Reporter: Jochen Stiepel
>            Assignee: Benjamin Bentmann
>            Priority: Blocker
>
> 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

-- 
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