I'm creating an OSGi bundle which consist of following dependencies
<artifactId>tomcat-dbcp</artifactId>
<artifactId>tomcat-embed-core</artifactId>
<artifactId>tomcat-embed-jasper</artifactId>
<artifactId>tomcat-embed-websocket</artifactId>
<artifactId>tomcat-jasper</artifactId>
<artifactId>ecj</artifactId>
I want to pack the SCIs in both websocket and jasper.
My IncludeResource section is as follows
<Include-Resource>
{maven-resources},
@tomcat-jasper-${version.tomcat}.jar!/META-INF/*,
@tomcat-embed-websocket-${version.tomcat}.jar!/META-INF/*,
src/main/resources
</Include-Resource>
Problem here is I'm only getting websocket SCi. I think jasper resources get overridden by the websocket resources. Depend on the order I specify them.
How can I put both resource in the same bundle?