[
https://issues.apache.org/jira/browse/KARAF-6573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009526#comment-17009526
]
Grzegorz Grzybek commented on KARAF-6573:
-----------------------------------------
The problem is prerequisite handling by Karaf resolver. {{jdbc}} feature is:
{code:xml}
<feature name="jdbc" description="JDBC service and commands"
version="${project.version}">
<details>JDBC support providing service, commands, and MBean.</details>
<feature prerequisite="true">pax-jdbc</feature>
<feature prerequisite="true">pax-jdbc-config</feature>
<bundle
dependency="true">mvn:org.osgi/org.osgi.service.jdbc/${org.osgi.service.jdbc.version}</bundle>
<bundle>mvn:org.apache.karaf.jdbc/org.apache.karaf.jdbc.core/${project.version}</bundle>
</feature>
{code}
and pax-jdbc + pax-jdbc-config features are tried to be resolved BEFORE other
features (including the static-framework one)...
> Not able to add jdbc feature in a static distribution
> -----------------------------------------------------
>
> Key: KARAF-6573
> URL: https://issues.apache.org/jira/browse/KARAF-6573
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 4.3.0, 4.2.8
>
> Attachments: pom.xml
>
>
> An user reported issues to include jdbc feature in a Karaf static
> distribution. I will test that and eventually fix.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)