Sure, done in https://issues.apache.org/jira/browse/KARAF-5273
No prio from my side though, its more a convenience thing Fabian On Thu, Jul 27, 2017 at 9:51 AM, Jean-Baptiste Onofré <[email protected]> wrote: > 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é <[email protected]>: >> >> 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é <[email protected]> >>>> 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 >>>>>> >>>>>> >>>>>>
