changed the url for Maven Central

Former-commit-id: cfe3c6efd45094b1a12d8e147e1d121064b48630
This commit is contained in:
Jeremy Long
2015-02-08 07:50:29 -05:00
parent bef0657801
commit f931412bee

View File

@@ -340,7 +340,9 @@ public class Dependency implements Serializable, Comparable<Dependency> {
if ("maven".equals(i.getType()) && i.getValue().equals(mavenArtifact.toString())) {
found = true;
i.setConfidence(Confidence.HIGHEST);
i.setUrl(mavenArtifact.getArtifactUrl());
final String url = "http://search.maven.org/#search|ga|1|1%3A%" + this.getSha1sum() + "%22";
i.setUrl(url);
//i.setUrl(mavenArtifact.getArtifactUrl());
LOGGER.fine(String.format("Already found identifier %s. Confidence set to highest", i.getValue()));
break;
}