karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Dywicki <l...@code-house.org>
Subject Re: Nested features using karaf-maven-plugin 3.0.0-SNAPSHOT
Date Wed, 26 Dec 2012 12:38:16 GMT
Features mechanism in Karaf do not support nested features. It supports only feature dependencies.
You can use this to create tree of dependencies. If you install feature which have dependencies
then Karaf resolves it's dependencies first.

Cheers,
Lukasz Dywicki
--
luke@code-house.org
Twitter: ldywicki
Blog: http://dywicki.pl
Code-House - http://code-house.org

Wiadomość napisana przez krisu w dniu 22 gru 2012, o godz. 12:08:

> How to generate such structure using karaf-maven-plugin (feature with
> subfeatures):
> 
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
> name="subfeature_example">
>    <feature name="A" version="0.0.1" description="feature A"
> resolver="(obr)">
>       <feature name="B" version="0.0.1" description="subfeature B"
> resolver="(obr)">
>       <feature name="C" version="0.0.1" description="subfeature C"
> resolver="(obr)">
>   </feature>
> </features>
> 
> Is it possible to get it with packaging feature  ?
> 
> 
> 
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Nested-features-using-karaf-maven-plugin-3-0-0-SNAPSHOT-tp4027131.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message