if(resources == null || resources.length<1) {
return;
}
Decoder<Capability> parser = new CapabilityParser();
for(Resource resource : resources) {
info("Resource found : "+resource.getId());
for(Capability capability : resource.getCapabilities()) {
if (!CapabilityParser.isComponent(capability))
continue;
ComponentDeclaration component = parser.decode(capability,reporter);
/*
* Components coming from the ACR have inherited properties and default values added
* at build time, and the declaration stored in the repository is actually effective.
*