[jboss-jira] [JBoss JIRA] (JBRULES-3510) Optional Maven dependencies are not declared as optional in OSGi manifest properties
Chris Dolan (JIRA)
jira-events at lists.jboss.org
Thu May 17 11:31:18 EDT 2012
Chris Dolan created JBRULES-3510:
------------------------------------
Summary: Optional Maven dependencies are not declared as optional in OSGi manifest properties
Key: JBRULES-3510
URL: https://issues.jboss.org/browse/JBRULES-3510
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.4.0.Final
Environment: Apache Karaf 2.2.4, Drools planner 5.4.0.Final
Reporter: Chris Dolan
Assignee: Mark Proctor
When I try to load drools-core.jar into my OSGi container, I get this error:
{noformat}
The bundle "org.drools.core_5.4.0.Final [199]" could not be resolved. Reason: Missing Constraint: Import-Package: com.google.protobuf; version="0.0.0"
{noformat}
The maven-bundle-plugin configuration in drools-core/pom.xml should include ";resolution:=optional" after the packages of the optional dependencies.
As a workaround, I can simply add the protobuf bundle to Karaf, but that's unpleasant because it should be unnecessary.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list