[
http://jira.codehaus.org/browse/MSITE-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236334#action_236334
]
Stuart McCulloch commented on MSITE-506:
----------------------------------------
Updating the site plugin copy of the plexus-archiver jar won't make any
difference, it is still separate from the copy in the javadoc plugin realm. In
order for string-based Plexus lookups to work the TCCL must be set to the
plugin realm when invoking plugin specific code. This is the same for the
original Plexus container as well as the new adapter. The container has to have
some way to disambiguate a pure string role into an actual type and this is
done by looking at the TCCL to see what realms are visible in the context of
the request. This is why Maven core always sets the TCCL to the plugin realm
before calling plugin code, and the site plugin has to do the same when calling
report code.
> Maven3 conflict with plexus-archiver
> ------------------------------------
>
> Key: MSITE-506
> URL: http://jira.codehaus.org/browse/MSITE-506
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Affects Versions: 3.0-beta-2
> Environment: Apache Maven 3.0-SNAPSHOT (r999839; 2010-09-22
> 11:43:26+0200)
> Java version: 1.7.0-ea
> Java home: /home/pether/tools/jdk1.7.0/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-25-generic" arch: "amd64" Family: "unix"
> Reporter: Pether Sorling
> Assignee: Olivier Lamy
> Fix For: 3.0-beta-3
>
> Attachments: testmaven3.zip
>
>
> Verson 2.7 and 2.8-SNAPSHOT have some issues with maven3. Works with 2.6.1,
> different version of plexus archiver conflicts with maven.
> failed to get Reports:
> org.codehaus.plexus.archiver.zip.ZipUnArchiver$__plexus5 cannot be cast to
> org.codehaus.plexus.archiver.UnArchiver
--
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