Skip to content

Commit 7909653

Browse files
committed
a
1 parent 070806b commit 7909653

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

scripts/download-rc.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ const downloadRC = () => {
5454
console.log('${filename} already exists, download not required');
5555
} else {
5656
console.log(`Downloading: ${artifact} to ${filename}`);
57+
58+
const args = [
59+
'-q',
60+
'org.apache.maven.plugins:maven-dependency-plugin:2.10:get',
61+
'-Dtransitive=false',
62+
`-DremoteRepositories=${repo}`,
63+
`-Dartifact=${artifact}`,
64+
`-Ddest=hazelcast-${filename}`
65+
]
66+
console.log(`Running: 'mvn' ${args.join(' ')}`);
67+
68+
69+
5770
const subprocess = spawnSync('mvn', [
5871
'-q',
5972
'org.apache.maven.plugins:maven-dependency-plugin:2.10:get',

0 commit comments

Comments
 (0)