Description of problem: yum shows the maven version as 3.x, but 2.x actually installs. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. "sudo yum info maven" shows version 3 2. "sudo yum install maven" to install. Note that maven2 package installs 3. "mvn -v" shows version 2. Actual results: mvn -v shows version 2 Expected results: mvn -v shows version 3 Additional info: I manually downloaded and install mvn from apache, so it's somewhat painful to reproduce this currently on my system.
I know this is confusing but there are two packages maven and maven2. Maven contains maven 3.x and maven2 contains maven 2.x. You can start maven 3.x by using mvn3 binary/script. This is partially fixed in F16 already (maven2 will not be installed when you install maven). Full fix where mvn will point to maven3 will be in F16.
I see. Thanks.