Jean-Baptiste Onofré created SMX4-1814:
------------------------------------------
Summary: spring-struts 3.2.9.RELEASE bundle should not export
org.apache.commons.logging package
Key: SMX4-1814
URL: https://issues.apache.org/jira/browse/SMX4-1814
Project: ServiceMix 4
Issue Type: Bug
Components: Bundles
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Fix For: bundles-2014.08
The spring-struts 3.2.9.RELEASE bundle exports the org.apache.commons.logging
package whereas it should not.
Especially, this cause an issue while installing the spring-struts feature in
Karaf:
{code}
Found installed bundle: org.apache.servicemix.bundles.spring-struts [115]
Error executing command: Could not start bundle
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-struts/3.2.9.RELEASE_1
in feature(s) spring-struts-3.2.9.RELEASE_1: Uses constraint violation. Unable
to resolve bundle revision org.apache.servicemix.bundles.spring-struts [115.0]
because it is exposed to package 'org.apache.commons.logging' from bundle
revisions org.ops4j.pax.logging.pax-logging-api [7.0] and
org.ops4j.pax.swissbox.optional.jcl [92.0] via two dependency chains.
Chain 1:
org.apache.servicemix.bundles.spring-struts [115.0]
import:
(&(osgi.wiring.package=org.apache.commons.logging)(version>=1.1.1)(!(version>=2.0.0)))
|
export: osgi.wiring.package=org.apache.commons.logging
org.ops4j.pax.logging.pax-logging-api [7.0]
Chain 2:
org.apache.servicemix.bundles.spring-struts [115.0]
import:
(&(osgi.wiring.package=org.apache.struts.action)(version>=1.2.0)(!(version>=3.0.0)))
|
export: osgi.wiring.package=org.apache.struts.action;
uses:=org.apache.commons.logging
org.apache.servicemix.bundles.struts [114.0]
import: (osgi.wiring.package=org.apache.commons.logging)
|
export: osgi.wiring.package=org.apache.commons.logging
org.ops4j.pax.swissbox.optional.jcl [92.0]
{/code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)