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 05:52:42 GMT
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
>

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