cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <>
Subject Re: Cloudstack rpm packaging issue
Date Tue, 01 Oct 2019 07:58:40 GMT
Darshana, you can try to install maven using distro provided package. Make sure you're building
centos7 package on a centos7 host, or you can use the following docker image:

You can consume pre-built packages from the repositories listed on the downloads page:


Rohit Yadav

Software Architect, ShapeBlue

From: Darshana Sampath <>
Sent: Tuesday, October 1, 2019 12:43
To: <>
Subject: Cloudstack rpm packaging issue

I was able to successfully build cloudstack from source code and start it
with jetty. Now I want to package it and deploy it on another machine.
Therefore I tried to build the rpm with "./ --pack oss
--distribution centos7" . However it throws the below error.
error: Failed build dependencies:
        maven >= 3.0.0 is needed by cloudstack-
RPM Build Failed
I have maven 3.6.2 running on my machine. Am I missing something here. I
have pasted below the CLI output for your reference.

[user@localhost packaging]$ ./ --pack oss --distribution centos7
Packaging CloudStack...
Preparing to package Apache CloudStack
. preparing source tarball
. executing rpmbuild
error: Failed build dependencies:
        maven >= 3.0.0 is needed by cloudstack-
RPM Build Failed
[user@localhost packaging]$ echo $M2_HOME
[user@localhost packaging]$ mvn -version
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117;
Maven home: /usr/local/maven
Java version: 1.8.0_222, vendor: Oracle Corporation, runtime:
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-957.27.2.el7.x86_64", arch: "amd64",
family: "unix"


Darshana Sampath

The content of this email is confidential and/or copyright and is solely
for the intended recipient. If you have received this email in error: (i)
you must not copy or distribute any part of it or otherwise disclose its
contents to anyone; (ii) please let Mitra Innovation know by reply email to
the sender and delete all copies from your system. No representation is
made that this email is free of viruses or other defects. Virus scanning is
recommended and is the responsibility of the recipient.

Amadeus House, Floral Street, London  WC2E 9DPUK

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message