"but with the same version, this can make version upgrades more difficult, due to the repetition.";
}
public void invoke(MavenProject mavenProject, final Map<String, Object> models, final ResultCollector resultCollector) {
final Document document = (Document) models.get("jdom2");
final XPathFactory xpathFactory = XPathFactory.instance();
final Filter<LocatedElement> filter = Filters.fclass(LocatedElement.class);
Namespace mavenNamespace = Namespace.getNamespace("m", "http://maven.apache.org/POM/4.0.0");
final XPathExpression<LocatedElement> dependenciesXpath = xpathFactory.compile("/m:project/m:dependencies/m:dependency", filter, null, mavenNamespace);