This content has been marked as final.
Show 2 replies
-
1. Re: How to deploy multiple versions of a same OSGi bundle
iocanel Jan 23, 2013 6:05 AM (in response to pratik_patel)Hi Pratik,
Inside an OSGi container you could treat different versions of a bundle as totally different bundles. So you could do something like:
osgi:install -s mvn:yet.another.bundle/bundle/1.0.0
osgi:install -s mvn:yet.another.bundle/bundle/2.0.0
Then you can have say bundle A using version 1.0.0 and bundle B using version 2.0.0. You should be careful though not to have any link between bundle A and bundle B as it can lead to constraint violations, or other kind of issues. Using strict version ranges will help you have more control over such cases.
-
2. Re: How to deploy multiple versions of a same OSGi bundle
pratik_patel Jan 23, 2013 6:58 AM (in response to iocanel)Understood. Thanks.