@Override
public boolean hasRepository(final String url)
{
if (url != null)
{
MavenFacet maven = getOrigin().getFacet(MavenFacet.class);
Model pom = maven.getPOM();
List<Repository> repositories = pom.getRepositories();
for (Repository repo : repositories)
{
if (repo.getUrl().trim().equals(url.trim()))
{