[ 
https://issues.apache.org/jira/browse/SHIRO-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16336052#comment-16336052
 ] 

RafaƂ Nagrodzki commented on SHIRO-632:
---------------------------------------

I'm commenting in the context of the problem stated in SHIRO-641 (I don't care 
about OSGi atm). Unfortunately, linked PR does not resolve all duplication 
issues. I can still see shiro-lang, shiro-cache, shiro-crypto-hash, 
shiro-crypto-cipher, shiro-config-core, shiro-config-ogdl classes being 
embedded in shiro-core artifact. Having duplicated classes on classpath is a 
known source of classloading failures.

> org.apache.felix:maven-bundle-plugin causing duplicate class problems between 
> core and lang
> -------------------------------------------------------------------------------------------
>
>                 Key: SHIRO-632
>                 URL: https://issues.apache.org/jira/browse/SHIRO-632
>             Project: Shiro
>          Issue Type: Bug
>            Reporter: Brian Demers
>            Priority: Major
>
> Possibly other conflicts, but without knowing much about the 
> maven-bundle-plugin it looks like we should be able to exclude the in tree 
> shiro dependencies.
> https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html#export-package
> Reported on the user mailing list title: Maven sources missing / duplicate 
> classes



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to