karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Building custom dist, including all features of a repository
Date Thu, 27 Jul 2017 07:51:24 GMT
Ah yeah, that's it: the wildcard is for verify. Actually, we could do the same 
for assembly as well.

@Fabian: can you create the Jira about that ?

Thanks
Regards
JB

On 07/27/2017 09:03 AM, Guillaume Nodet wrote:
> The verify goal accepts a matching pattern, but I don't think the assembly
> goal ever supported it.
> 
> 2017-07-27 8:33 GMT+02:00 Jean-Baptiste Onofré <jb@nanthrax.net>:
> 
>> 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
>>
> 
> 
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message