

Turns out, after reading answer, it's easy to package maven into an RPM with fpm. Stumbling upon this question I thought I might give it a try. I've just learned of a handy packaging tool called fpm recently. If it weren't for all these labor-saving devices, I could probably get some work done.
So, all I need is the repo file that points to a repo that contains whatever I need to install Maven 2.2.1. I think Google is mocking me at this point.) (I did find a repository containing thing that let Maven build Yum. 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. The actual pom.xml I have requires a higher version. When I asked yum to install maven2 ignoring Amazon, it does so, but it installs Maven 2.0.9, which is fairly old.

When I asked yum to install maven2, it declined, saying it had never heard of maven2. (Actually, each of those repositories consists of two sub-repositories, but I don't think that's causing the problem.) My installation "has" ("is attached too"? "knows about"?) two repos: the Amazon one and JPackage, which I understand is something of a standard. I've inherited this code and I don't want to spend more time than I have to in this environment. I'm trying not to learn much about either yum or maven.
