[
https://issues.apache.org/jira/browse/FELIX-5071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075023#comment-15075023
]
Carsten Ziegeler commented on FELIX-5071:
-----------------------------------------
[~sgandon] I've tested this with version 3.0.0 and 3.0.1 and it works work:
<Include-Resource></Include-Resource> does not include anything from the maven
resources (and the plugin prints a warning [WARNING] Include-Resource:
overriding ...)
<Include-Resource>
pom.xml
</Include-Resource>
does the same but includes pom.xml
> <Include-Resource> always includes the current maven resources
> --------------------------------------------------------------
>
> Key: FELIX-5071
> URL: https://issues.apache.org/jira/browse/FELIX-5071
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-3.0.0
> Reporter: Sébastien Gandon
>
> The documentation says that
> "By default the bundle plugin converts the project's Maven resource
> directories into a single <Include-Resource> instruction. If you specify your
> own <Include-Resource> instruction, this will replace the generated one"
> But when I create my how <Include-Resource> to be empty or with some specific
> files, the complete resources from src/main/resources get copied into the
> bundle. And I do not want that.
> So to be brief
> <Include-Resource></Include-Resource>
> is the same as
> <Include-Resource>{maven-resources}</Include-Resource>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)