Steinar Bang created SHIRO-655:
----------------------------------

             Summary: 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


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.

It should be possible to fix this by bumping the config-configurations2 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