ITeye博客

yum安装maven2

fireinwind · 2014-12-10 15:21 · Maven · 开源软件 · Markdown

yum安装maven2

 (2012-08-09 21:27:00)

转载▼

标签: 

杂谈

 

http://stackoverflow.com/questions/6298865/how-to-install-maven-into-red-hat-linux-enterprise-addition-6

注意是安装maven2不是maven

wget http://www.jpackage.org/jpackage50.repo
yum install maven2

 

另外一个源安装maven3, 命令同样是yum install -y maven2:

# Note: Replaced $releasever with 6Server since SL's "6.2" doesn't work

[epel-apache-maven]
name=maven from apache foundation.
baseurl=http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-6Server/$basearch/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[epel-apache-maven-source]
name=maven from apache foundation. - Source
baseurl=http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-6Server/SRPMS
enabled=0
skip_if_unavailable=1
gpgcheck=0

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。