Skip to content

Commit

Permalink
Merge pull request #434 from Vlatombe/npm-repo
Browse files Browse the repository at this point in the history
Move node/npm download root to properties to allow easy override
  • Loading branch information
jtnord authored Sep 9, 2021
2 parents 5494d59 + bf1c527 commit 54649fa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
<npm.version>2.13.1</npm.version>
<yarn.version>0.23.0</yarn.version>
<frontend-version>1.12.0</frontend-version>
<nodeDownloadRoot>https://repo.jenkins-ci.org/nodejs-dist/</nodeDownloadRoot>
<npmDownloadRoot>https://repo.jenkins-ci.org/npm-dist/</npmDownloadRoot>
<skip.node.tests /> <!-- changed by -DskipTests, if specified - see profile -->
<skip.node.lint /> <!-- changed by -DskipLint, if specified - see profile -->
<npm.loglevel /> <!-- may use e.g. -\-silent (without backslash) -->
Expand Down Expand Up @@ -1115,8 +1117,8 @@
<configuration>
<nodeVersion>v${node.version}</nodeVersion>
<npmVersion>${npm.version}</npmVersion>
<nodeDownloadRoot>https://repo.jenkins-ci.org/nodejs-dist/</nodeDownloadRoot>
<npmDownloadRoot>https://repo.jenkins-ci.org/npm-dist/</npmDownloadRoot>
<nodeDownloadRoot>${nodeDownloadRoot}</nodeDownloadRoot>
<npmDownloadRoot>${npmDownloadRoot}</npmDownloadRoot>
</configuration>
</execution>

Expand Down Expand Up @@ -1187,7 +1189,7 @@
<configuration>
<nodeVersion>v${node.version}</nodeVersion>
<yarnVersion>v${yarn.version}</yarnVersion>
<nodeDownloadRoot>https://repo.jenkins-ci.org/nodejs-dist/</nodeDownloadRoot>
<nodeDownloadRoot>${nodeDownloadRoot}</nodeDownloadRoot>
<!-- tried to create a mirror for yarnDownloadRoot but it did not work -->
</configuration>
</execution>
Expand Down

0 comments on commit 54649fa

Please sign in to comment.