Install Apache Maven repo:
# sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo Replace "$reloease" to 6, we want to use epel-6 # sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
Install Apache Maven:
sudo yum install -y apache-maven mvn --version
1 comment:
Thanks, too many incomplete or outdated answers on stackoverflow.
Post a Comment