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

[jira] Commented: (MSITE-609) site:deploy is broken

    [ https://jira.codehaus.org/browse/MSITE-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276430#comment-276430 ] 

Lukas Theussl commented on MSITE-609:
-------------------------------------

The problem is the empty <configuration/> element in your settings.xml, remove that line and it works. I thought this was fixed with MSITE-546, but the error is different and it only happens with maven 2.

> site:deploy is broken
> ---------------------
>
>                 Key: MSITE-609
>                 URL: https://jira.codehaus.org/browse/MSITE-609
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: site:deploy
>    Affects Versions: 3.0
>         Environment: mvn -version
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_22
> Java home: c:\Programme\Java\jdk1.6.0_22\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Christian M.
>         Attachments: pom.xml, settings.xml, site_deploy_broken_output.txt
>
>
> With Maven 2.2.1 and the maven-site-plugin 3.0, site:deploy is not working anymore. This can be reproduced with the simplest empty project, see attached pom.xml
> The error that occurs is:
> java.lang.NoSuchMethodError: org.codehaus.plexus.PlexusContainer.getContainerRealm()Lorg/codehaus/plexus/classworlds/realm/ClassRealm;
> (complete stacktrace attached)
> This is in reference to this mail thread: http://markmail.org/message/ilfbqb2vhiyo5os4
> Attached are: 
> - pom.xml (simple empty project)
> - settings.xml (minimal config necessary for deploy)
> - output from "mvn -X site:deploy" ("mvn site" was run before)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira