Hi,
How do I include resources from the dependent jar file?
For ex. I'm converting geronimo-jpa_3.0_spec-1.1.jar to osgi bundle and I've
the following definitions in pom.
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>1.0.0</version>
<configuration>
<instructions>
<Bundle-Name>${artifactId}</Bundle-Name>
<Bundle-SymbolicName>${groupId}.${artifactId}</Bundle-SymbolicName>
<Export-Package>javax.persistence*;version=${jpa.version
};-noimport:=true</Export-Package>
<Import-Package>*</Import-Package>
<Implementation-Version>${jpa.version}</Implementation-Version>
</instructions>
</configuration>
<extensions>true</extensions>
</plugin>
<dependencies>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jpa_3.0_spec</artifactId>
<version>${jpa.version}</version>
</dependency>
</dependencies>
Now, If I want to include a resource in META-INF, what instructions I should
use?
It is very much needed for some swing-ui libraries which define other
resources at the top level of the jar.
Are they also considered as packages or private packages?
or
What is the syntax for <Include-Resource> in such a scenario?(PS. I don't
have the jar file relative to pom, only a dependency is set)
Thanks,
Prashant