On 12/09/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > hi, > > am using maven-bundle-plugin 1.1.0-SNAPSHOT. building bundle works fine, > but when installing and trying to start i get a BundleException: > "The bundle could not be resolved. Reason Missing Constraint. > Import-Package: antlr; > > so it seems that lib containing antlr-stuff did not get included inside > the bundle. this is a bit weird because i "nearly" used an include all > configuration, and set transitive embedding to true:
the bundleplugin uses standard maven calls to get transitive dependencies so I'll need your complete POM to find out why it's not found (ie. it could be a scoping issue) <configuration> > <instructions> > <Private-Package>ownModulePackage.*</Private-Package> > <Embed-Transitive>true</Embed-Transitive> > <Embed-Dependency> > > *;groupId=!org.eclipse.equinox;artifactId=!referencedBundle;inline=false > </Embed-Dependency> > <Bundle-Activator>Activator</Bundle-Activator> > </instructions> > </configuration> > > when putting antlr directly as dependency inside pom.xml, OSGi can find > antlr (but still has problems with other dependencies). so to me it > seems that transitive dependencies do not get included by bundle-plugin > correctly. > > many thanks. > > -- > manuel aldana > [EMAIL PROTECTED] > homepage: www.aldana-online.de > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Cheers, Stuart

