-
Bug
-
Resolution: Done
-
Major
-
1.0.0.Beta5
-
None
@Override public boolean hasRepository(final String url) { if (url != null) { MavenCoreFacet maven = project.getFacet(MavenCoreFacet.class); Model pom = maven.getPOM(); List<Repository> repositories = pom.getRepositories(); for (Repository repo : repositories) { if (repo.getUrl().trim().equals(url.trim())) { repositories.remove(repo); maven.setPOM(pom); return true; } } } return false; }