You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2020/03/07 14:23:56 UTC

[maven-studies] branch maven-buildinfo-plugin updated: fixed repository layout used when repository defined as url

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

hboutemy pushed a commit to branch maven-buildinfo-plugin
in repository https://gitbox.apache.org/repos/asf/maven-studies.git


The following commit(s) were added to refs/heads/maven-buildinfo-plugin by this push:
     new 5b7c808  fixed repository layout used when repository defined as url
5b7c808 is described below

commit 5b7c808d86fa822d8d20dc3977bdf26b4b70e8d7
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Mar 7 15:22:51 2020 +0100

    fixed repository layout used when repository defined as url
---
 src/main/java/org/apache/maven/plugins/buildinfo/SaveMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugins/buildinfo/SaveMojo.java b/src/main/java/org/apache/maven/plugins/buildinfo/SaveMojo.java
index beb1bfe..7cdd43c 100644
--- a/src/main/java/org/apache/maven/plugins/buildinfo/SaveMojo.java
+++ b/src/main/java/org/apache/maven/plugins/buildinfo/SaveMojo.java
@@ -461,7 +461,7 @@ public class SaveMojo
 
     protected RemoteRepository createDeploymentArtifactRepository( String id, String url )
     {
-        return new RemoteRepository.Builder( id, null, url ).build();
+        return new RemoteRepository.Builder( id, "default", url ).build();
     }
 
     private static class NoWorkspaceRepositorySystemSession