Hi all,

It may just be me, but ....

By default the bundle plugin sets the Include-Resources instruction to BND as

    <Include-Resource>
        {maven-resources}
    </Include-Resource>

This will include all resources from the maven project as defined in the 
build/resources elements. This sounds fine, but it actually copies the source 
resources from src/main/resources (etc.) instead of the processed resources 
from target.

This works great unless the resources are filtered or processed for example 
with the native2ascii plugin.

Of course, I can embed the filtered resources by explicitly listing them as in

    <Include-Resource>
        {maven-resources},OSGI-INF=target/classes/OSGI-INF
    </Include-Resource>

but this looks, hmm, not quite right ..

Can this be done nicer ?

Regards
Felix

Reply via email to