Hi, Does anyone recalls why the following code was added to the maven-bundle-plugin?
if (new File(baseDir, "src/main/resources").exists()) { header(properties, Analyzer.INCLUDE_RESOURCE, "src/main/resources/"); } In my view has two problems: 1. is useless since by the build time all the resources included in src/main/resources will be copied automatically by maven into target/class which is in the classpath of bnd so automatically will get into the resulting bundle 2. is error prone since I can specify my resources in other place in the pom or even add more resource folders. And the point 1 above will do the right thing anyhow. Do I miss something? If not I will make a jira issue to be removed. Alin Dreghiciu