Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
Description
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:
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]
Attachments
Issue Links
- blocks
-
KARAF-3178 spring-struts 3.2.9.RELEASE_1 feature doesn't install correctly
- Resolved