use of org.commonjava.maven.galley.maven.model.view.OriginInfo in project galley by Commonjava.
the class AbstractMavenPluginImplications method createPluginDependency.
protected PluginDependencyView createPluginDependency(final PluginView pv, final ProjectRef ref) throws GalleyMavenException {
final Map<String, String> map = new LinkedHashMap<>();
map.put(G, ref.getGroupId());
map.put(A, ref.getArtifactId());
map.put(V, pv.getVersion());
final Element element = pv.getElement();
return new PluginDependencyView(pv.getPomView(), pv, xml.createElement(element, "dependencies/dependency", map), new OriginInfo());
}
Aggregations