mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 00:03:43 +01:00
changed the url for Maven Central
Former-commit-id: cfe3c6efd45094b1a12d8e147e1d121064b48630
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user