Bug 921068

Summary: maven-invoker: NullPointerException in MavenCommandLineBuilder
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: maven-invokerAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: java-sig-commits, mizdebsk, msrb, sochotni, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.1.1-6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-13 12:57:53 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:
Bug Depends On:    
Bug Blocks: 914607    

Description Mikolaj Izdebski 2013-03-13 12:26:56 UTC
Description of problem:
maven invoker assumes that mavenHome has parent directory. If this assumprion is false (for example maven.home is root directory "/") then NullPointerException is thrown.

Version-Release number of selected component (if applicable):
2.1.1-5

Additional info:
Forwarded upstream: http://jira.codehaus.org/browse/MSHARED-278

Comment 1 Mikolaj Izdebski 2013-03-13 12:38:43 UTC
Fixed in maven-invoker-2.1.1-6

Comment 2 Mikolaj Izdebski 2013-03-13 12:57:53 UTC
I believe that this bug is fixed in maven-invoker-2.1.1-6,
which is available in Fedora 19, so I am closing this bug now.

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