Hello everyone. I am using the Maven bundle plugin to OSGi-ify a set of projects that are non-OSGi. I have two projects, A and B, with B declaring a dependency on A. A is at version 2.10.0-SNAPSHOT and I am declaring a dependency from that version in B's pom.xml.
However, when the Maven bundle plugin creates the MANIFEST.MF files for both projects, it A's manifest declares: Export-Package: com.acme.projecta.domain; version="2.10.0.SNAPSHOT" (as expected) But B's manifest declares: <Import-Package: com.acme.projecta.domain; version="[2.10.0,3.0.0)" Note how the version range in the Import-Package directive is wrong as it does not include 2.10.0.SNAPSHOT. What could I possibly be doing wrong? And why sometimes I see a version range being declared in the Import-Package directive and sometimes this is missing altogether? TIA, B. BARBARA ROSI-SCHWARTZ Senior Developer IG Group|Cannon Bridge House 25 Dowgate Hill|London|EC4R ZYA t: +44(0)20 7573 0208 (Direct) t: +44(0)20 7896 0011 (Switchboard) w: www.iggroup.com ________________________________ The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone (+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, conclusions (etc) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Group Holdings plc is a company registered in England and Wales under number 01190902. VAT registration number 761 2978 07. Registered Office: Cannon Bridge House, 25 Dowgate Hill, London EC4R 2YA. Authorised and regulated by the Financial Services Authority. FSA Register number 114059.

