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/04 06:51:00 UTC

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

    [ https://issues.apache.org/jira/browse/KARAF-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114023#comment-16114023 ] 

Jean-Baptiste Onofré commented on KARAF-5285:
---------------------------------------------

I just tested and it works fine. In the log, I can even see:

{code}
2017-08-04 08:49:58,453 | WARN  | -SNAPSHOT/deploy | KarServiceImpl                   | 35 - org.apache.karaf.kar.core - 4.1.2.SNAPSHOT | Feature test/1.0.0.SNAPSHOT has install flag set to "manual", so it's not automatically installed
{code}

> <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.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)