Maven一键安装 centos平台

maven一键安装

添加maven的仓库

1
wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo

yum 安装

1
yum -y install apache-maven