Skip to content

Commit 11f4d55

Browse files
committed
melting-pot: use correct remote repo parameter
I cannot find any reference to a parameter called repoUrl for the maven-dependency-plugin. Not on the get-mojo doc page, and not in the maven-dependency-plugin source code. I think this feature was probably broken previously. Let's use remoteRepositories instead.
1 parent b0c3d0f commit 11f4d55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

melting-pot.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,13 @@ downloadPOM() {
320320
local a="$(artifactId "$1")"
321321
local v="$(version "$1")"
322322
debug "mvn dependency:get \\
323-
-DrepoUrl=\"$remoteRepos\" \\
323+
-DremoteRepositories=\"$remoteRepos\" \\
324324
-DgroupId=\"$g\" \\
325325
-DartifactId=\"$a\" \\
326326
-Dversion=\"$v\" \\
327327
-Dpackaging=pom"
328328
mvn dependency:get \
329-
-DrepoUrl="$remoteRepos" \
329+
-DremoteRepositories="$remoteRepos" \
330330
-DgroupId="$g" \
331331
-DartifactId="$a" \
332332
-Dversion="$v" \

0 commit comments

Comments
 (0)