else
{
DependencyFacet deps = project.getFacet(DependencyFacet.class);
for (Dependency dependency : provider.listDependencies())
{
DependencyQueryBuilder query = DependencyQueryBuilder.create(dependency).setFilter(
new NonSnapshotDependencyFilter());
List<Dependency> versions = deps.resolveAvailableVersions(query);
if (!versions.isEmpty())
{
Dependency choice = prompt.promptChoiceTyped("Install which version of [" + dependency + "]?",