を使用してmaven-bundle-plugin
おり、Google マップの依存関係をバンドルしようとしています。
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-ClassPath>*;scope=compile|runtime</Bundle-ClassPath>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Embed-Directory>OSGI-INF/lib</Embed-Directory>
<Import-Package>
*
</Import-Package>
<_exportcontents>
*
</_exportcontents>
</instructions>
</configuration>
</plugin>
JAR (Manifest.MF) を調べると、 では表示されますが、 では表示com.google.maps.model
されExport-Package
ませんImport-Package
。どうすればそれを手に入れることができImport-Package
ますか?
この質問は、OSGi コンポーネントでサードパーティの jar ファイルからクラスをインポートする方法に関する未解決の質問にリンクされています。