shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafał Nagrodzki (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (SHIRO-632) org.apache.felix:maven-bundle-plugin causing duplicate class problems between core and lang
Date Tue, 23 Jan 2018 16:52:00 GMT

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

Rafał Nagrodzki edited comment on SHIRO-632 at 1/23/18 4:51 PM:
----------------------------------------------------------------

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 potential classloading failures. Shiro jars should share strictly no classes
between each other.


was (Author: rjn):
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 potential 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)

Mime
View raw message