Red Hat Bugzilla – Bug 818883
Maven2 package crippled
Last modified: 2012-05-26 03:30:45 EDT
Description of problem:
Most of the maven2 package has been removed, and what remains is not enough to use maven2 to build projects. For instance, the actual "mvn2" command has been removed.
I assume this has been done intentionally, but it makes it difficult to use Fedora for developing software that uses Maven 2. You need to install Maven 2 yourself.
At the very least, the current description of the Maven 2 package is wrong, and so are all the dependencies in the package.
The package in it's current form should be removed or renamed. To me a better solution would be to roll back to the previous version of maven2.
Version-Release number of selected component (if applicable):
$ rpm -ql maven2.
Steps to Reproduce:
1. Install maven2
2. Type mvn2 at a shell
bash: mvn2: command not found...
Similar command is: 'mvn'
Maven 2 starts.
Maven 2 was stripped down because of insufficient number of packagers working on the stack. This allowed the current maintainers to remove a number of obsolete packages plexus* and others. This resulted in more resources being spend on Maven 3 and having better maven 3 in general. Maven2 package is kept because some of the libraries coming from it are still needed in Maven3 land.
It is not as simple as reverting a patch we speak about maintaining a dozen of other packages, some of them are so old that can't even be build with Java 7 which is the only working jvm in Fedora 17. If someone is willing to revive all these packages and port them when needed to build against Java 7 he is more than welcome.
Anyway, until such person appears this won't happen so the bug is closed as wontfix. And if someone wants to do that he should start by submitting package reviews for the old dropped libraries which don't have place in this bug too.
I understand you can't maintain a package due to lack of resources. But *please* retire the package with the name of maven2 (e.g. replace it with a package called maven2-bare that obsoletes maven2), or at least update it's description and dependencies.
As it stands it is very confusing that installing the package "maven2" won't actually allow you to compile packages with maven2. And the list of dependencies for the maven2 package make absolutely no sense now.
Very well, you have a point. I've completely removed maven2 binary rpm in rawhide now. If nothing breaks too bad (I don't think it will), I intend to push this to F17 as well.
maven2-2.2.1-33.fc17 has been submitted as an update for Fedora 17.
maven2-2.2.1-33.fc17, maven-3.0.4-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.