Dear All,
im trying to embed all required jars within a lib-folder.
However, the folder never turns up in the bundle-jar.

My bundle-part of the POM looks like this:

<groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                <manifestLocation>${project.basedir}/META-INF</manifestLocation>
                        <instructions>

                                
<Bundle-SymbolicName>${pom.groupId}.${pom.artifactId};singleton:=true</Bundle-SymbolicName>
                                        
<Embed-Dependency>*;scope=compile|runtime;</Embed-Dependency>
                                        
<Embed-Transitive>true</Embed-Transitive>
                                        
<Bundle-ClassPath>.,lib</Bundle-ClassPath>

                                        
<Bundle-Activator>de.pascada.idarewest.backend.internal.Activator</Bundle-Activator>
                                        
<Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
                                                
                                        <Embed-Directory>lib</Embed-Directory>

                        </instructions>
                </configuration>

Calling mvn package fails and produces a lot of warmings like  'No sub JAR or 
directory lib/jta-1.1.jar' 
If i remove the <Embed-Dependency> , <Bundle-ClassPath> and <Embed-Transitive> 
lines the
bundle is build correctly but without any trace of the lib-folder.
Am I missing something?

regards,
markus






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to