次の依存関係で構成される OSGi バンドルを作成しています
<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>
SCI を websocket と jasper の両方にパックしたいと考えています。
私の IncludeResource セクションは次のとおりです
<Include-Resource>
{maven-resources},
@tomcat-jasper-${version.tomcat}.jar!/META-INF/*,
@tomcat-embed-websocket-${version.tomcat}.jar!/META-INF/*,
src/main/resources
</Include-Resource>
ここでの問題は、websocket SCi しか取得していないことです。jasper リソースは websocket リソースによってオーバーライドされると思います。私が指定した順序に依存します。
両方のリソースを同じバンドルに入れるにはどうすればよいですか?