Hi Shri, You are accidentally including the feature itself recursively. The line:
<feature version='${project.version}'>jclouds-openstack-swift</feature> is like an include for another feature so it is recursing that feature. That is actually a bug in the karaf features maven plugin, I’ll see about catching this case and stopping the recursion. You want: <feature version='${project.version}'>jclouds-compute</feature> Thanks, Chris -- Chris Custine On August 5, 2014 at 6:34:34 PM, Shrinand Javadekar (shrin...@maginatics.com) wrote: > Folks, > > I'm trying to add support for the new openstack-swift provider to > jclouds-cli/karaf. I don't understand much of how karaf is structured > and how it works. I simply followed what was done when support was > added for DigitalOcean and tried to do the same. > > However that fails during compilation itself. Here's the change I was > testing with. > > https://gist.github.com/shrinandj/8045d71358c7123c019a > > This fails with the following error. > > > Exception in thread "main" java.lang.StackOverflowError > at java.util.ArrayList.subList(ArrayList.java:914) > at java.lang.String.split(String.java:2311) > at java.lang.String.split(String.java:2355) > at > org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.addFeatures(AddFeaturesToRepoMojo.java:299) > > at > org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.addFeatures(AddFeaturesToRepoMojo.java:321) > > at > org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.addFeatures(AddFeaturesToRepoMojo.java:321) > > at > org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.addFeatures(AddFeaturesToRepoMojo.java:321) > > > > Any ideas how I can make progress here? > > -Shri >