Bug 1104396 - maven stopped working due to broken symlinks in /usr/share/maven/lib/
Summary: maven stopped working due to broken symlinks in /usr/share/maven/lib/
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: maven
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1104890 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-03 22:00 UTC by Mikko Tiihonen
Modified: 2014-06-05 04:11 UTC (History)
6 users (show)

Fixed In Version: 3.2.1-8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-04 06:51:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mikko Tiihonen 2014-06-03 22:00:00 UTC
Description of problem:
Running mvn fails with java.lang.ClassNotFoundException: org.apache.maven.cli.MavenCli

Version-Release number of selected component (if applicable):
maven-3.2.1-7.fc21.noarch

The problem seems to be that at least all the symlinks in the rpm that are in
/usr/share/maven/lib/ and try to point to /usr/share/java/maven/ are broken.

For example
 /usr/share/maven/lib/maven-embedder.jar -> ../../../maven/maven-embedder.jar
resolves to
 /usr/maven/maven-embedder.jar
but the actual file is in
 /usr/share/java/maven/maven-embedder.jar

Both the symlink and the actual jar come from the same maven rpm so the problem is in packaging.

Comment 1 Mikolaj Izdebski 2014-06-04 06:42:59 UTC
Fixed in maven-3.2.1-8

Comment 2 Mikolaj Izdebski 2014-06-04 06:51:01 UTC
I believe that this bug is fixed in maven-3.2.1-8,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=521203

Comment 3 Michal Srb 2014-06-05 04:11:07 UTC
*** Bug 1104890 has been marked as a duplicate of this bug. ***


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