You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2020/03/28 21:21:34 UTC

[maven-dependency-plugin] branch master updated: cure a deprecation warning (#39)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new a1037f7  cure a deprecation warning (#39)
a1037f7 is described below

commit a1037f717999ededa0e99c908f4131d955445a6f
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Sat Mar 28 17:21:28 2020 -0400

    cure a deprecation warning (#39)
---
 .../plugins/dependency/fromDependencies/TestCopyDependenciesMojo2.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestCopyDependenciesMojo2.java b/src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestCopyDependenciesMojo2.java
index e4870bc..bcedc16 100644
--- a/src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestCopyDependenciesMojo2.java
+++ b/src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestCopyDependenciesMojo2.java
@@ -287,7 +287,7 @@ public class TestCopyDependenciesMojo2
 
         File outputDirectory = mojo.outputDirectory;
         ArtifactRepository targetRepository =
-            new MavenArtifactRepository( "local", outputDirectory.toURL().toExternalForm(),
+            new MavenArtifactRepository( "local", outputDirectory.toURI().toURL().toExternalForm(),
                                          new DefaultRepositoryLayout(), new ArtifactRepositoryPolicy(),
                                          new ArtifactRepositoryPolicy() );