karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Lange <fabian.la...@codecentric.de>
Subject Re: Building custom dist, including all features of a repository
Date Thu, 27 Jul 2017 06:35:23 GMT
Hi,
will check, but I do not really want to install all standard and framework
features as side effect ;)

Fabian

On Thu, Jul 27, 2017 at 8:33 AM, Jean-Baptiste Onofré <jb@nanthrax.net>
wrote:

> Hi,
>
> AFAIR it was supported, so  it looks like a regression. Let me take a look.
>
> And it doesn't work just defining the repo and using
> installAllFeaturesByDefault true ?
>
> Can you create a Jira about that, I will investigate ? Thanks !
>
> Regards
> JB
>
>
> On 07/27/2017 07:52 AM, Fabian Lange wrote:
>
>> Sure, JB, :-)
>>
>>                <installedFeatures>
>>                  <feature> myfeature-*</feature>
>>                </installedFeatures>
>>
>> Unable to build assembly: Could not find matching feature for myfeature-*
>>
>> That is probably because
>>
>> https://github.com/apache/karaf/blob/master/profile/src/main
>> /java/org/apache/karaf/profile/assembly/Builder.java#L1284
>>
>> Checks for f.getName().equals(name)
>>
>>
>> If that should be supported, then this is also probably the place where I
>> would add some wildcarding
>>
>> Fabian
>>
>> --
>> Fabian Lange | Performance Expert
>> mobil: +49 (0) 160.3673393
>>
>> codecentric AG | Hochstraße 11 | 42697 Solingen | Deutschland
>>
>> Sitz der Gesellschaft: Solingen | HRB 25917| Amtsgericht Wuppertal
>> Vorstand: Michael Hochgürtel . Mirko Novakovic . Rainer Vehns
>> Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Klaus Jäger . Jürgen
>> Schütz
>>
>> On Thu, Jul 27, 2017 at 7:38 AM, Jean-Baptiste Onofré <jb@nanthrax.net>
>> wrote:
>>
>> Hi Fabian,
>>>
>>> did you try with wildcard ?
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 07/26/2017 06:49 PM, Fabian Lange wrote:
>>>
>>> Hi,
>>>>
>>>> I have a features.xml aka repository, and I want to include all features
>>>> defined in that repository when building a dist with karaf-maven-plugin.
>>>>
>>>> As far as I can tell this doesnt work, and I need to list all features
>>>> manually as boot/installed feature
>>>>
>>>> Is this something we should have?
>>>>
>>>> Fabian
>>>>
>>>> --
>>>> Fabian Lange | Performance Expert
>>>> mobil: +49 (0) 160.3673393
>>>>
>>>> codecentric AG | Hochstraße 11 | 42697 Solingen | Deutschland
>>>>
>>>> Sitz der Gesellschaft: Solingen | HRB 25917| Amtsgericht Wuppertal
>>>> Vorstand: Michael Hochgürtel . Mirko Novakovic . Rainer Vehns
>>>> Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Klaus Jäger . Jürgen
>>>> Schütz
>>>>
>>>>
>>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

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