Bug 743040

Summary: yum installs maven2 instead of maven
Product: [Fedora] Fedora Reporter: Tim Broberg <tim.broberg>
Component: mavenAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: akurtako, java-sig-commits, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-05 07:36:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim Broberg 2011-10-03 16:38:19 UTC
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.

Comment 1 Stanislav Ochotnicky 2011-10-05 07:36:45 UTC
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.

Comment 2 Tim Broberg 2011-10-05 16:49:44 UTC
I see. Thanks.