> Pax Exam is running fine with the generated JAR and only META-
> INF/maven/dependencies.properties is missing for depends-maven-plugin.
> 
> Therefore I prefer a third option which is configured in Parent, adds 
> dependencies.properties to the JAR if present and leaves everything else as 
> is. Not sure why dependencies.properties is not picked up at all.

Ok, I see. 
The reason why this is not being picked up by default is due to the way how bnd 
works internally. It will only add ".class" files and apart from that only 
resources being passed via the instruction "Include-Resource" 
(http://bnd.bndtools.org/instructions/includeresource.html 
<http://bnd.bndtools.org/instructions/includeresource.html>).
Still I would argue that the dependencies.properties is not that useful to have 
in the final bundle (except for the use case of pax-exam). But maybe its file 
size is so small that it doesn't really matter here.

Reply via email to