In Karaf 3 we defined configurations and features in the features.xml file (input file). The bundle came from the Maven dependendies. So we use a mixed approach.
I will try now to define everything in feature.xml. I see one disadvantage here. I cannot define the bundle versions directly in the Maven dependency management section. I have to define for each bundle version a Maven property. Richard Am Do., 22. Apr. 2021 um 16:29 Uhr schrieb Jean-Baptiste Onofre < [email protected]>: > Hi Richard, > > It depends if you want to generate features manually or with the help of > the plugin. > > Generally speaking, for complete control, we do the features XML (or json) > by hand (especially to split cleanly features, use dependency or > prerequisite flags). > > Regards > JB > > > Le 22 avr. 2021 à 14:29, Richard Hierlmeier <[email protected]> > a écrit : > > > > > > What is the best practise for migrating a Kara 3 feature to Karaf 4. > > > > The karaf-maven-plugin many new features. However I can not find good > example how to use it. > > In the Karaf git repository the packaging "feature" is not used (only in > integration tests). > > Is it deprecated? > > > > > > Thank you in advance > > > > Richard > > > > > > > > > > > > > >
