Maybe we should create a request for enhancement for this? Today, I was missing this feature again.
On Thu, Feb 14, 2013 at 5:59 PM, Andrei Pozolotin < [email protected]> wrote: > I also would like to know the solution. > > > -------- Original Message -------- > Subject: Maven-bundle-plugin: specify import version range only for the > case the package is needed > From: Reto Bachmann-Gmür <[email protected]> <[email protected]> > To: users <[email protected]> <[email protected]> > Date: Thu 14 Feb 2013 04:58:26 AM CST > > Hello > > Many bundles in my project but not all import a specific package. Whenever > this package is imported I have to specify the version range in the > Import-Package directive as it would otherwise be too restrictive. I would > like to specify this version range in the parent rather than in every > bundle-artifact individually. Obviously the import should only show up id > the package is indeed needed in that bundle project. Is this possible? > > Cheers, > Reto > > > >

