<Include-Resource>
{maven-resources}, {maven-dependencies},
templates=src/resources/templates
</Include-Resource>
inside maven-bundle-plugin
<plugin>
<groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.0.1</version> <extensions>true</extensions> <configuration> <instructions> ... <Include-Resource> {maven-resources}, {maven-dependencies}, templates=src/resources/templates </Include-Resource> ... </instructions> </configuration>
</plugin>
You need {maven-resources} and {maven-dependencies} or mvn packages fails.
And it is dst-pat-in-the-jar=src (templates=src/resources/templates)
No comments:
Post a Comment
If you have any doubts or questions, please let us know.