Bug 743040 - yum installs maven2 instead of maven
Summary: yum installs maven2 instead of maven
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: maven
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-03 16:38 UTC by Tim Broberg
Modified: 2011-10-05 16:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-05 07:36:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.