This is an automated email from the ASF dual-hosted git repository.
weizhou pushed a commit to branch 4.18
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.18 by this push:
new f4a4417e4c7 pom.xml: add property project.systemvm.template.location
(#7706)
f4a4417e4c7 is described below
commit f4a4417e4c7befd8e9dccdf9226b066b01cb01d1
Author: Wei Zhou <[email protected]>
AuthorDate: Fri Jul 28 17:05:44 2023 +0800
pom.xml: add property project.systemvm.template.location (#7706)
* pom.xml: add property project.systemvm.template.location
* pom.xml: update project.systemvm.template.location
---
engine/schema/pom.xml | 12 ++++++------
pom.xml | 1 +
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/engine/schema/pom.xml b/engine/schema/pom.xml
index da40a524c9b..cad7a0a8b66 100644
--- a/engine/schema/pom.xml
+++ b/engine/schema/pom.xml
@@ -122,7 +122,7 @@
<goal>wget</goal>
</goals>
<configuration>
-
<url>https://download.cloudstack.org/systemvm/${cs.version}/md5sum.txt</url>
+
<url>${project.systemvm.template.location}/${cs.version}/md5sum.txt</url>
<outputDirectory>${basedir}/dist/systemvm-templates/</outputDirectory>
<skipCache>true</skipCache>
<overwrite>true</overwrite>
@@ -181,7 +181,7 @@
</goals>
<configuration>
<checkSignature>true</checkSignature>
-
<url>https://download.cloudstack.org/systemvm/${cs.version}/systemvmtemplate-${cs.version}.${patch.version}-kvm.qcow2.bz2</url>
+
<url>${project.systemvm.template.location}/${cs.version}/systemvmtemplate-${cs.version}.${patch.version}-kvm.qcow2.bz2</url>
<outputDirectory>${basedir}/dist/systemvm-templates/</outputDirectory>
<md5>${kvm.checksum}</md5>
</configuration>
@@ -217,7 +217,7 @@
</goals>
<configuration>
<checkSignature>true</checkSignature>
-
<url>https://download.cloudstack.org/systemvm/${cs.version}/systemvmtemplate-${cs.version}.${patch.version}-vmware.ova</url>
+
<url>${project.systemvm.template.location}/${cs.version}/systemvmtemplate-${cs.version}.${patch.version}-vmware.ova</url>
<outputDirectory>${basedir}/dist/systemvm-templates/</outputDirectory>
<md5>${vmware.checksum}</md5>
</configuration>
@@ -253,7 +253,7 @@
</goals>
<configuration>
<checkSignature>true</checkSignature>
-
<url>https://download.cloudstack.org/systemvm/${cs.version}/systemvmtemplate-${cs.version}.${patch.version}-xen.vhd.bz2</url>
+
<url>${project.systemvm.template.location}/${cs.version}/systemvmtemplate-${cs.version}.${patch.version}-xen.vhd.bz2</url>
<outputDirectory>${basedir}/dist/systemvm-templates/</outputDirectory>
<md5>${xen.checksum}</md5>
</configuration>
@@ -289,7 +289,7 @@
</goals>
<configuration>
<checkSignature>true</checkSignature>
-
<url>https://download.cloudstack.org/systemvm/${cs.version}/systemvmtemplate-${cs.version}.${patch.version}-ovm.raw.bz2</url>
+
<url>${project.systemvm.template.location}/${cs.version}/systemvmtemplate-${cs.version}.${patch.version}-ovm.raw.bz2</url>
<outputDirectory>${basedir}/dist/systemvm-templates/</outputDirectory>
<md5>${ovm.checksum}</md5>
</configuration>
@@ -325,7 +325,7 @@
</goals>
<configuration>
<checkSignature>true</checkSignature>
-
<url>https://download.cloudstack.org/systemvm/${cs.version}/systemvmtemplate-${cs.version}.${patch.version}-hyperv.vhd.zip</url>
+
<url>${project.systemvm.template.location}/${cs.version}/systemvmtemplate-${cs.version}.${patch.version}-hyperv.vhd.zip</url>
<outputDirectory>${basedir}/dist/systemvm-templates/</outputDirectory>
<md5>${hyperv.checksum}</md5>
</configuration>
diff --git a/pom.xml b/pom.xml
index 824ab363bb4..f9be3ab98a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,6 +49,7 @@
<!-- keep in alphabetic order -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+
<project.systemvm.template.location>https://download.cloudstack.org/systemvm</project.systemvm.template.location>
<project.systemvm.template.version>4.18.0.0</project.systemvm.template.version>
<sonar.organization>apache</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>