felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Henry Perret <phper...@gmail.com>
Subject Re: maven bundle plugin: excluding package on embedded dependency
Date Wed, 12 Jan 2011 11:06:57 GMT
Hello Manuel,



2011/1/11 Manuel Bernhardt <bernhardt.manuel@gmail.com>

> Hello,
>
> I have a a project with a dependency (that has some transitive
> dependencies) which I need to bundle. One of the (non used) classes
>
If this class is not used why not simply get rid of it ?


> leads to a Import-Package statement that I don't want (and that makes
> it impossible to install the bundle).
>
> My question is: how can I get rid of this statement?
>
> Here is what I tried so far (amongst other) but without much success,
> the generated MANIFEST.MF keeps on having the offending class in the
> Import-Package list.
>
>                    <instructions>
>                        <Embed-Dependency>morphia</Embed-Dependency>
>                        <Embed-Transitive>true</Embed-Transitive>
>                        <Import-Package>*;optional:=true</Import-Package>
>                    </instructions>
>
> Thanks,
>
> Manuel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message