The Gluster Blog

Gluster blog stories provide high-level spotlights on our users all over the world

Yum install maven : Yes you can !

Gluster
2013-08-21

People are always asking if its possible to install maven with yum. 

Me…
Some other dude


The answer is yes, but its not a one step install.

Before I show you the trick… Listen to me ramble for a sec.

Well.. I’m not sure why it hasnt become part of the standard yum libraries, and I’m still learning the ropes in that area, but it appears to me that the maven community is really like a mini-feodra packaging community, with its own infrastructure and idioms for packaging artifacts (maven + poms), which is part of a larger community which focuses on distributing tarballs (apache). So all this probably leads to a little bit of a distraction from the yum world, since maven users want poms, and apache users want tarballs, and yum/rpm/apt is still are still largely used by administrators (who most likely are not java developers).

Anyways.. inspite of these complications… you  can still install maven in in 2 steps.

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

yum install apache-maven

Yay ! But your not done yet. 

Maven is installed to /usr/share/apache-maven/

so update your symlinks etc accordingly if you want to use the sleek “mvn” invocation that we all know and love.

BLOG

  • 06 Dec 2020
    Looking back at 2020 – with g...

    2020 has not been a year we would have been able to predict. With a worldwide pandemic and lives thrown out of gear, as we head into 2021, we are thankful that our community and project continued to receive new developers, users and make small gains. For that and a...

    Read more
  • 27 Apr 2020
    Update from the team

    It has been a while since we provided an update to the Gluster community. Across the world various nations, states and localities have put together sets of guidelines around shelter-in-place and quarantine. We request our community members to stay safe, to care for their loved ones, to continue to be...

    Read more
  • 03 Feb 2020
    Building a longer term focus for Gl...

    The initial rounds of conversation around the planning of content for release 8 has helped the project identify one key thing – the need to stagger out features and enhancements over multiple releases. Thus, while release 8 is unlikely to be feature heavy as previous releases, it will be the...

    Read more