From 066e66089e1083bed15efa7df38c99190211083a Mon Sep 17 00:00:00 2001 From: Ferenc Palkovics Date: Tue, 11 Oct 2016 17:23:39 +0200 Subject: [PATCH] Artifact resolution from project.repositories --- .../dependencyversionscheck/AbstractDependencyVersionsMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ning/maven/plugins/dependencyversionscheck/AbstractDependencyVersionsMojo.java b/src/main/java/com/ning/maven/plugins/dependencyversionscheck/AbstractDependencyVersionsMojo.java index 41321a4..50324b8 100644 --- a/src/main/java/com/ning/maven/plugins/dependencyversionscheck/AbstractDependencyVersionsMojo.java +++ b/src/main/java/com/ning/maven/plugins/dependencyversionscheck/AbstractDependencyVersionsMojo.java @@ -799,7 +799,7 @@ private Set resolveDependenciesInItsOwnScope(final MavenProject project, final A project.getArtifact(), Collections.EMPTY_MAP, localRepository, - remoteRepositories, + project.getRemoteArtifactRepositories(), artifactMetadataSource, new ArtifactOptionalFilter(includeOptional));