* @param deps A list with elements of type String (holding a module ID / Artifact name)
* @param includeVersion whether to include a version in the plugin xml dependency
*/
private static void processDependencyList(List<Dependency> real, List<DependencyType> deps, boolean includeVersion) {
for (Dependency dep : real) {
DependencyType dependency = toDependencyType(dep, includeVersion);
if (!deps.contains(dependency)) {
deps.add(dependency);
}
}
}