.... further to my previous post, I'd like to clarify that as a starting point, I identified the dependencies using the karaf command 'feature:info -t' to get the tree of bundles required by the feature. This can be done in batch from the shell using the karaf 'client' utility.
Not being aware of a more straightforward way, I had to do it this way in bash to get the dependencies for the feature shell/4.0.8 as an example: ( printf '<dependencies>' bin/client 'feature:info -t shell 4.0.8' | fmt -1 | sed 's/[ \t]*//' | grep '^mvn:' | sort | uniq | cut -d: -f2 |tr -s '/' ' ' | while read groupId artefactId version x y z do printf '<dependency><groupId>%s</groupId><artifactId>%s</artifactId><version>%s</version></dependency>%n' $groupId $artefactId $version done echo '</dependencies>') | xmllint --format - | grep -Ev '^<\?xml' -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
