if (components.isEmpty()) {
throw new InvalidApamMetadataException("No Apam metadata");
}
ErrorReport acrParsingResult = new ErrorReport(getLog());
ApamComponentRepository acr = null;
try {
acr = new ApamComponentRepository(mockManager(getInputRepositoryLocations()),getInputRepositoryLocations(),acrParsingResult);
} catch (Exception exc) {
exc.printStackTrace();
throw new MojoExecutionException("Exception during initialize of OBR/ACR repositories "+exc.getMessage());
}