On features-maven-plugin you can set which features you'll need and the plugin will build the repository according to features definitions : easy :) Le 6 oct. 2014 21:07, "Marcus Bond" <[email protected]> a écrit :
> Thanks, however it's not so much how I do it as the docs are ok and the > Pom I have works but without providing all dependencies I will need. I need > to know how I find out the names of the dependency artefacts that define > the features I would like to include. E.g if I want a camel feature how > do I determine which artifact provides that feature? > M > > On Monday, October 6, 2014, Jean-Baptiste Onofré <[email protected]> wrote: > >> Hi Marcus, >> >> you can take a look on the Karaf distribution itself (we eat our own dog >> food ;)). >> >> The assembly archetype also provides a skeleton to create your distro. >> >> The documentation also provides good start point: >> >> http://karaf.apache.org/manual/latest/developers- >> guide/custom-distribution.html >> >> Regards >> JB >> >> On 10/06/2014 07:54 PM, Marcus Bond wrote: >> >>> Hi, >>> >>> I am trying to figure out how to set up the pom for a karaf-assembly in >>> order to produce a custom distribution. >>> >>> I know the names of the features I want installed and started, such as >>> jetty, jms, cxf, camel etc. however I would like to know how I can >>> determine the dependencies that are required in the pom in order that >>> the custom distro will have all required dependencies in the "system" >>> folder. The environment it will run in has no access to any repositories >>> so will need to have a complete system folder generated at build time. >>> >>> How do we determine the maven dependency that a given feature requires? >>> >>> Regards, >>> Marcus. >>> >> >> -- >> Jean-Baptiste Onofré >> [email protected] >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> >
