How to install Maven into Red Hat Enterprise Linux 6?

后端 未结 4 701
情深已故
情深已故 2021-01-30 23:44

I\'m working on a Scientific Linux box and am trying to install Maven using the yum command. Scientific Linux for those of you who do not know is based off of Red H

4条回答
  •  醉酒成梦
    2021-01-31 00:00

    Thanks Andy for his answer (on Jun 10, 2011). It gave me some hints. However, when I followed it, I got a lot of dependencies issues, including problems like these

    ERROR with rpm_check_debug vs depsolve:
    rpmlib(FileDigests) is needed by plexus-container-default-1.0-0.a9s1.2.jpp6.noarch
    rpmlib(FileDigests) is needed by aspectj-1.5.4-1.jpp6.noarch
    rpmlib(FileDigests) is needed by rhino-1.7-1.r2.8.jpp6.noarch
    rpmlib(FileDigests) is needed by saxon9-dom-B.9.0.0.8-2.jpp6.noarch
    rpmlib(FileDigests) is needed by easymock2-2.5.2-2.jpp6.noarch
    rpmlib(FileDigests) is needed by saxon9-B.9.0.0.8-2.jpp6.noarch
    rpmlib(FileDigests) is needed by saxon9-xpath-B.9.0.0.8-2.jpp6.noarch
    rpmlib(FileDigests) is needed by xmlbeans-2.4.0-3.jpp6.noarch
    rpmlib(FileDigests) is needed by jtidy-7.0-0.V04aug2000r7_dev.2.jpp6.noarch
    rpmlib(FileDigests) is needed by lucene-2.4.1-5.jpp6.noarch
    rpmlib(FileDigests) is needed by aqute-bndlib-0.0.363-1.jpp6.noarch
    

    Finally I realized the JPackage website actually has good and updated instruction. So I following these two pages and could finally installed maven2 on my machine.

    Jpackage.org: Installation

    Jpackage.org: Using a Repository -- Yum

提交回复
热议问题