Well, in short, add your feature dependencies to your pom and add refer to those features in the karaf-maven-plugin. In case you want to have one of it also as a boot-feature, you'll need to add this feature name to the bootfeatures. All of this can be found at [1].
Control how features are installed using these elements referring to > features from installed feature repositories: > <startupFeature>foo</startupFeature> This will result in the feature > bundles being listed in startup.properties at the appropriate start level > and the bundles being copied into the "system" internal repository. > <bootFeature>bar</bootFeature> This will result in the feature name added > to boot-features in the features service configuration file and all the > bundles in the feature copied into the "system" internal repository. > <installedFeature>baz</installedFeature> This will result in all the > bundles in the feature being installed in the "system" internal repository. > Therefore at runtime the feature may be installed without access to > external repositories. So for you this means, using bootFeature and maybe startupFeature. regards, Achim 2014-07-16 13:05 GMT+02:00 anshuman.osc <[email protected]>: > Sorry, but the documentation is not very detailed regarding the new > karaf-maven-plugin. That page contains more details under "(deprecated old > style) Maven assembly" than this. > > I have gone through this page and could not find answer to these questions. > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Karaf-3-Standalone-Distribution-tp4034233p4034243.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Software Architect / Project Manager / Scrum Master
