It's in the feature core during resolution.
Regards
JB
On 09/27/2013 05:15 PM, Charles Moulliard wrote:
Hi,
When I read the code of karaf feature, I see that the field isDependency
of BundleInfoImpl is only use by class CreateKarMojo
/**
* Read and load the bundles and configuration files contained in
the features file.
private List<Artifact> readResources() throws MojoExecutionException {
List<Artifact> resources = new ArrayList<Artifact>();
try {
RepositoryImpl featuresRepo = new
RepositoryImpl(featuresFile.toURI());
Feature[] features = featuresRepo.getFeatures();
for (Feature feature : features) {
for (BundleInfo bundle : feature.getBundles()) {
if (ignoreDependencyFlag || (!ignoreDependencyFlag
&& !bundle.isDependency())) {
Question: Do we use this attribute/field for something else ? If yes,
which class/method ?
Regards
--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com