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

Jean-Baptiste Onofré commented on SHIRO-655:
--------------------------------------------

That's already part of the update related to Karaf 4 that I'm preparing for 
Shiro.

> shiro-core has an undesirable runtime OSGi dependency to spring-beans
> ---------------------------------------------------------------------
>
>                 Key: SHIRO-655
>                 URL: https://issues.apache.org/jira/browse/SHIRO-655
>             Project: Shiro
>          Issue Type: Bug
>    Affects Versions: 1.4.0-RC2
>            Reporter: Steinar Bang
>            Priority: Major
>              Labels: OSGi, osgi
>
> The manifest.mf of the shiro-core jar has a runtime dependency on 
> org.apache.commons.configuration2.interpol, 
> The org.apache.commons.configuration2.interpol package is provided by
> {code:xml}
>         <dependency>
>             <groupId>org.apache.commons</groupId>
>             <artifactId>commons-configuration2</artifactId>
>             <version>2.1</version>
>             <scope>compile</scope>
>         </dependency>
> {code}
> and this bundle (it *is* a bundle with an OSGi MANIFEST.MF) has 
> springframework package requirements in the Import-Package header:
> {noformat}
> org.springframework.beans.factory,
> org.springframework.core.env,
> org.springframework.core.io,
> org.springframework.util
> {noformat}
> It should be possible to fix this by bumping the config-configurations2 
> dependency to to 2.2, for in that version of the bundle, the springframework 
> packages are made optional (and the runtime requirement goes away).



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

Reply via email to