title: How do I install Maven with Yum?
body: <p>I'm trying <em>not</em> to learn much about either yum or maven.  I've inherited this code and I don't want to spend more time than I have to in this environment.</p>
  
  <p>I've got yum.  My installation "has" ("is attached too"? "knows about"?) two repos: the Amazon one and JPackage, which I understand is something of a standard.  (Actually, each of those repositories consists of two sub-repositories, but I don't think that's causing the problem.)</p>
  
  <p>When I asked yum to install maven2, it declined, saying it had never heard of maven2.</p>
  
  <p>When I asked yum to install maven2 <em>ignoring Amazon</em>, it does so, but it installs Maven 2.0.9, which is fairly old.  The actual pom.xml I have requires a higher version.</p>
  
  <p>When I Google for Maven repositories I get repositories that Maven can use to build other things, not repositories that Yum can use to install Maven.  (I did find a repository containing thing that let Maven build Yum.  I think Google is mocking me at this point.)</p>
  
  <p>So, all I need is the repo <em>file</em> that points to a repo that contains whatever I need to install Maven 2.2.1. </p>
  
  <p>If it weren't for all these labor-saving devices, I could probably get some work done.</p>