On Thu, Oct 16, 2008 at 8:47 AM, Raymond Feng <[EMAIL PROTECTED]> wrote:
> Hi, > > I'm seeing a few issues with the different versions of the same third party > jars pulled in. > > 1) Tuscany module A depends on geronimo-jta_1.1_spec-1.1.1.jar (which is > an OSGi bundle). The maven bundle plugin generate an Import-Package like > javax.transaction;version="1.1". > > 2) thirdparty-library pulls in geronimo-jta_1.1_spec-1.1.1.jar and > geronimo-jta_1.0.1B_spec-1.1.jar. It produces an Export-Package like: > javax.transaction;version="1.1", javax.transaction;version="1.0" (I'm not > sure if it's valid to have one bundle exports two different versions of the > same package) > > This causes OSGi dependency resolution errors. > > Thanks, > Raymond > > I can think of two ways to handle this case: a) pick one version and stick to it, that's what we've done until now in our distros b) make these jars individual bundles and change thirdparty-library to an Eclipse updatesite (and point your PDE to it) -- Jean-Sebastien
