Hi,

i am currently trying to write a bundle that utilizes some other open source project. To save me some time i just want to embed the direct dependencies i have defined in the maven pom (as opposed to making bundles of the dependencies and import the packages, i am lazy). This works fine, except that the transitive dependencies are also embedded. I set the Embed-Dependency to "false", but still no success..

<plugin>
               <groupId>org.apache.felix</groupId>
               <artifactId>maven-bundle-plugin</artifactId>
               <extensions>true</extensions>
               <version>1.4.0</version>
               <configuration>
                   <instructions>
                       <Export-Package></Export-Package>
                       <Import-Package>*</Import-Package>
                       <Embed-Dependency>*;scope=runtime</Embed-Dependency>
                       <Embed-Transitive>false</Embed-Transitive>
                       <Private-Package>*</Private-Package>
<Bundle-Activator>no.ap.web.Activator</Bundle-Activator>
                   </instructions>
               </configuration>
           </plugin>

any clarifying hints would be appreciated :)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to