I am trying to install an OSGi bundle with the apache-karaf 2.3.10 with the example i have already posted in this link. I did the following steps
1. Downloaded apache-karaf version 2.3.10
2. Executed the command features:install scr. Successfully installed scr. I have verified by executing scr:list
3. Installed all the bundles
4. Finally after starting all the bundles activate method in ExampleComponentFactoryManager called twice and two objects are created. I have verified the same by executing the command scr:list
5. After uninstalling the scr feature the activate method in ExampleComponentFactoryManager called only once which is the expected behaviour.
6. Also i have noted that upto apache-karaf-2.3.10 while installing the scr feature it fetches from the online repo. But from 2.3.11 i am getting error because it tries to fetch it from my maven repository. The error is shown the console.
Can anybody tell me what is happening with the feature scr inside karaf? Because with scr feature i can see what are the available factories and instances in karaf. Is this the expected one?