Showing posts with label CICD. Show all posts
Showing posts with label CICD. Show all posts

Tuesday, March 24, 2020

Install Maven bu Using the TAR binary file

wget http://www.eu.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
tar xzf apache-maven-3.3.9-bin.tar.gz
mkdir /usr/local/maven
mv apache-maven-3.3.9/ /usr/local/maven/
alternatives --install /usr/bin/mvn mvn /usr/local/maven/apache-maven-3.3.9/bin/mvn 1
alternatives --config mvn

Thursday, December 19, 2019

Caused by: java.io.IOException: Cannot run program "rpmbuild" (in directory "xxxx/SPECS"): error=2, No such file or directory

This issue is due to missed the rpmbuild on your server:
In RHEL/CentOS:

yum install rpm-build -y

In Ubuntu:

apt-get install rpm

In Mac OS:

brew install rpm