Achim, The bundle on which the feature depends on is something that we are developing. That is why it has a SNAPSHOT version. This does not work. If I rebuild my bundle with a release version and then make my feature depend on the release version of my bundle then it works.
Also note that if I have a SNAPSHOT bundle and I put it in the deploy folder then the bundle does get installed properly. The problem only seems to happen only when I try to deploy a KAR which has a dependency on a bundle with a SNAPSHOT version. -Moiz ________________________________ From: Achim Nierbeck [[email protected]] Sent: Thursday, October 01, 2015 9:42 PM To: [email protected] Subject: Re: Problem with deploying a KAR which contains a bundle with a SNAPSHOT version Hi, how can it work if you switch from SNAPSHOT version to a released version? Looks like the dependency actually got released and therefore the snapshot isn't there any longer. allas it's not an issue of the KAR but on your dependencies. Did you check that? regards, Achim 2015-10-02 0:05 GMT+02:00 Moiz Raja (moraja) <[email protected]<mailto:[email protected]>>: Hi, I’m having some trouble deploying a KAR file which has a feature which uses a SNAPSHOT bundle as it’s dependency. When I try to deploy this KAR file it complains that it is unable to resolve the bundle. If I change the version of the bundle to a release bundle it works fine. This used to work just fine in 3.0.1 but for some reason it does not in 3.0.3. Is there some configuration that I need to set to get this to work? -Moiz -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
