You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/08/02 17:04:00 UTC

[jira] [Created] (KARAF-5285) install attribute is ignored

Jean-Baptiste Onofré created KARAF-5285:
-------------------------------------------

             Summary: <feature/> install attribute is ignored
                 Key: KARAF-5285
                 URL: https://issues.apache.org/jira/browse/KARAF-5285
             Project: Karaf
          Issue Type: Bug
          Components: karaf-feature, karaf-kar
    Affects Versions: 4.1.1
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 4.2.0, 4.1.2


Using the following features XML packaged as a KAR:

{code}
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0"
name="hazelcast-1.0.0-SNAPSHOT">
  
    <repository>mvn:org.apache.karaf.features/standard/4.1.1/xml/features</repository>
    
  <feature name="hazelcast" description="Hazelcast w/ Camel integration"
install="manual" version="1.0.0.SNAPSHOT">
        <details>This feature set provides Hazelcast to be used independently or through Camel.</details>
        <feature prerequisite="false" dependency="false">transaction</feature>
        <feature version="2.18.3" prerequisite="false" dependency="true">camel-core</feature>
       <bundle>mvn:com.eclipsesource.minimal-json/minimal-json/0.9.4</bundle>
        <bundle>mvn:org.apache.camel/camel-hazelcast/2.18.3</bundle>
        <bundle>mvn:com.hazelcast/hazelcast/3.7.1</bundle>
    </feature>

</features>
{code}

even with "install=false" the feature is installed when deploying the kar (with {{kar:install}}).



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