The problem: I am generating some files under target/temp that I want to be included in the final bundle wab that is being bundled in the package phase. Here is the code snippet that I am using:
<_wab>src/main/webapp</_wab>
<Include-Resource>
{maven-resources},
src/main/webapp/destination=target/temp
</Include-Resource>
I would like the directories generated under target/temp to be included under the destination directory structure. However the above syntax is not including the files under temp anywhere. But the maven-resources are getting included in the root location of the wab.
The documentation is from this page: http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html under <Include-Resource>
instruction.
It says " If a specific resource must be placed into a subdirectory of the bundle jar, then use the assignment form, where the first path is the the destination path (including file name if the resource is a file) and the second path is the resource to copy."
I have checked and the required directories are being generated under target/temp before the package phase where the maven-bundle-plugin is being used. Is there something that I am missing?
I would really appreciate any help with this issue.