I typically do this:
<instructions>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Bundle-ClassPath>{maven-dependencies},.</Bundle-ClassPath>
</instructions>
Make sure you are running the latest maven-bundle-plugin.
-c
On Fri, Jul 2, 2010 at 12:51 PM, Sudhir Dharmadhikari <
[email protected]> wrote:
> Hi - I saw couple threads about Embed-Dependency not working. But not sure
> if it was fixed or if there is any other way.
>
> Here is my code, Nothing gets embedded in the bundle . I have tried couple
> of things , for example, writing name of dependency instead of "*", turning
> on/off "inline" .
> Can you please help ?
> <plugin>
> <groupId>org.apache.felix</groupId>
> <artifactId>maven-bundle-plugin</artifactId>
> <version>2.1.0</version>
> <extensions>true</extensions>
> <configuration>
>
> <Embed-Dependency>*;scope=compile|runtime;type=!pom,inline=false</Embed-Dependency>
> <Embed-Transitive>true</Embed-Transitive>
> </configuration>
> </plugin>
>
> Thanks,
> Sudhir
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>