`
hj.learning
  • 浏览: 13906 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

CentOS 下安装 Maven2 ---Under development, NOT ready to be used

阅读更多
  • 首先增加新的安装源:jpackage-generic-free.repo 和 jpackage-generic-devel.repo
  • cat > /etc/yum.repos.d/jpackage-generic-free.repo << EOF
    [jpackage-generic-free]
    name=JPackage generic free
    baseurl=http://mirrors.dotsrc.org/jpackage/6.0/generic/free/
    enabled=1
    gpgcheck=1
    gpgkey=http://www.jpackage.org/jpackage.asc
    EOF
    
    cat > /etc/yum.repos.d/jpackage-generic-devel.repo << EOF
    [jpackage-generic-devel]
    name=JPackage Generic Developer
    baseurl=http://mirrors.dotsrc.org/jpackage/6.0/generic/devel/
    enabled=1
    gpgcheck=1
    gpgkey=http://www.jpackage.org/jpackage.asc
    EOF
    

  • 执行 yum update 和 yum install maven2
  • Install the bin file manually:

  • See: http://key2start.wordpress.com/2011/04/05/maven-on-centos/
    分享到:
    评论

    相关推荐

    Global site tag (gtag.js) - Google Analytics