// Generate explicit_versions for all our dependencies...
Properties props = new Properties();
try {
Node root = dependencies.getRootNode();
// Skip the root node
Iterator children = root.getChildren().iterator();
while (children.hasNext()) {
Node child = (Node) children.next();
appendExplicitVersionProperties(child, props);
}
}
catch (Exception e) {
throw new MojoExecutionException("Failed to determine project dependencies", e);