You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jan Esser (JIRA)" <ji...@apache.org> on 2017/11/27 21:38:00 UTC

[jira] [Created] (KARAF-5507) karaf:run should resolve maven dependencies

Jan Esser created KARAF-5507:
--------------------------------

             Summary: karaf:run should resolve maven dependencies
                 Key: KARAF-5507
                 URL: https://issues.apache.org/jira/browse/KARAF-5507
             Project: Karaf
          Issue Type: Improvement
          Components: karaf-osgi
            Reporter: Jan Esser


h2. Situation
karaf-maven-plugin has learned to support featuresToInstall from KARAF-5104.

h2. Complication
A bundle described by features.xml is not yet supported.
{code:xml}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="servicemix-primer">
    <feature name="servicemix-primer" description="servicemix-primer" version="0.0.1.SNAPSHOT">
        <feature prerequisite="true" dependency="false">wrap</feature>
        <bundle>wrap:mvn:org.apache.poi/poi-ooxml/3.17</bundle>
        <bundle>wrap:mvn:org.apache.poi/poi/3.17</bundle>
        <bundle>mvn:commons-codec/commons-codec/1.10</bundle>
        <bundle>mvn:org.apache.commons/commons-collections4/4.1</bundle>
        <bundle>wrap:mvn:org.apache.poi/poi-ooxml-schemas/3.17</bundle>
        <bundle>wrap:mvn:org.apache.xmlbeans/xmlbeans/2.6.0</bundle>
        <bundle>wrap:mvn:stax/stax-api/1.0.1</bundle>
        <bundle>wrap:mvn:com.github.virtuald/curvesapi/1.04</bundle>
    </feature>
</features>
{code}

h2. Solution
Resolve these dependencies and trigger installation.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)