-
-
Notifications
You must be signed in to change notification settings - Fork 303
Open
Description
I would like to create a JAR file using bnd that contains no classes and only some explicitly defined resources that reside in certain paths using the bnd-maven-plugin.
I have been able to get it work for simple filename based patterns like (#6794 (comment))
<configuration>
<includeClassesDir>false</includeClassesDir>
<bnd>
-includeresource: /=src/main/resources/;filter:="*.json"
</bnd>
</configuration>
But it does not seem to work for matching paths, e.g.
-includeresource: /=src/main/resources/;filter:="**/*.json"
-includeresource: /=src/main/resources/;filter:="*/data/*"
-includeresource: /=src/main/resources/;filter:="**/data/**"
If I read the source correctly, then it is not possible to use includeresources
with a pattern to match a path:
Metadata
Metadata
Assignees
Labels
No labels