@Inject
BundleContext bundleContext;
@Inject
private CarbonServerInfo carbonServerInfo;
@Configuration
<BUG>public Option[] createConfiguration() {
List<Option> optionList = new ArrayList<>();
optionList.add(copyDropinsBundle(</BUG>
maven().artifactId("org.wso2.carbon.sample.runtime.service").groupId("org.wso2.carbon")
<BUG>.versionAsInProject()));

return optionList.toArray(new Option[optionList.size()]);</BUG>
}

@Inject
BundleContext bundleContext;
@Inject
private CarbonServerInfo carbonServerInfo;
@Configuration
public Option[] createConfiguration() {
return new Option[] { copyDropinsBundle(
maven().artifactId("org.wso2.carbon.sample.runtime.service").groupId("org.wso2.carbon")
.versionAsInProject()) };
}
