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 16:53:53 UTC

[maven-dependency-plugin] branch sink created (now fed5913)

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

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


      at fed5913  cure a deprecation warning

This branch includes the following new commits:

     new fed5913  cure a deprecation warning

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-dependency-plugin] 01/01: cure a deprecation warning

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit fed5913d82c903238daba8ab8a8daaad063affdd
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sat Mar 28 12:53:33 2020 -0400

    cure a deprecation warning
---
 .../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() );