{
throw new RuntimeException("Container profile with id " + container.getId() + " or "
+ container.getProfileId() + " not found");
}
List<org.jboss.forge.project.dependencies.Dependency> asDependencies = dependencyFacet
.resolveAvailableVersions(DependencyBuilder.create()
.setGroupId(container.getDownload().getGroupId())
.setArtifactId(container.getDownload().getArtifactId()));
org.jboss.forge.project.dependencies.Dependency asVersion = shell.promptChoiceTyped(
"Which version of the container do you want to install?", asDependencies,