Skip to content

Commit e1646a8

Browse files
committed
Merge branch '4.2.x' into 4.3.x
2 parents 01dbc3d + 0050869 commit e1646a8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
<generate-readme.phase>prepare-package</generate-readme.phase>
146146
<generate-cloud-resources.phase>generate-resources</generate-cloud-resources.phase>
147147
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
148+
<node-download-url>https://nodejs.org/dist</node-download-url>
148149
</properties>
149150
<dependencyManagement>
150151
<dependencies>
@@ -1129,6 +1130,12 @@
11291130
<configuration>
11301131
<!-- TODO: remove when CI upgrades past ubuntu 1804 -->
11311132
<nodeVersion>${node.version}</nodeVersion>
1133+
<!-- The default value for node-download-url is set in the properties of this POM -->
1134+
<!-- This can be overriden in the Maven settings.xml or via the command line -->
1135+
<!-- On Jenkins we override this property in Maven settings.xml to point to USW1 to download Node -->
1136+
<!-- When pointing to USW1 we use the serverId spring-commercial-release in settings.xml to authenticate with USW1 -->
1137+
<nodeDownloadUrl>${node-download-url}</nodeDownloadUrl>
1138+
<nodeDownloadServerId>spring-commercial-release</nodeDownloadServerId>
11321139
<options>
11331140
<option>--to-dir=target/antora/site</option>
11341141
<option>--stacktrace</option>

0 commit comments

Comments
 (0)