ModuleVersionIdentifier identifier = projectDependencyResolver.resolve(dependency);
runtimeDependencies.add(new DefaultMavenDependency(identifier.getGroup(), identifier.getName(), identifier.getVersion()));
}
private void addModuleDependency(ModuleDependency dependency) {
runtimeDependencies.add(new DefaultMavenDependency(dependency.getGroup(), dependency.getName(), dependency.getVersion(), dependency.getArtifacts(), dependency.getExcludeRules()));
}