* parse all the declared components
*/
info("Parsing Apam metadata for " + artifact.getId()+ " from " + artifact.getFile());
StringBuilder contents = new StringBuilder(" contains components: ");
Decoder<Element> parser = new MetadataParser();
for (Element element : metadata.getElements()) {
ComponentDeclaration declaration = parser.decode(element,reporter);
if (declaration == null)
continue;
components.add(declaration);