> How about using inline=com.** ? It's better indeed, but it's not resilient to future introductions of new packages, or e.g. other resources in META-INF.
Romain. On 11 mars 2013, at 10:08, Felix Meschberger <[email protected]> wrote: > Hi, > > Am 11.03.2013 um 10:01 schrieb Romain Deltour: > >> (note: this email was first sent to the bndtools-users list, but I was >> advised to send it here instead) >> >> Hi, >> >> I'm building an OSGi-fied version of an existing jar with the Maven Bundle >> Plugin, adding the jar's content as an inlined embedded dependency: >> >> <Embed-Dependency>*;inline=true</Embed-Dependency> >> >> However, the original jar is signed and want to *not embed* the *.RSA and >> *.SF files from it. >> >> I know I can detail an ant-like file set to include: >> >> <Embed-Dependency>*;inline=**/*.class|**/*.ent|**/*.dtd|**/*.mod|**/*.xml|**/*.xsl|**/*.properties</Embed-Dependency> > > How about using inline=com.** ? > > Regards > Felix > >> >> but there's a risk to miss resources, it would be much safer to do the other >> way around and only declare the list of excludes. Is there a way to declare >> excluded resources ? >> >> Thanks, >> Romain. >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > -- > Felix Meschberger | Principal Scientist | Adobe > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

