[ 
https://issues.apache.org/jira/browse/KARAF-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-5285:
----------------------------------------
    Description: 
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=manual}} the feature is installed when deploying the kar.

  was:
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}}).


> <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=manual}} the feature is installed when deploying the kar.



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

Reply via email to