Bug 1014301

Summary: javapackages-tools: Improve error messages for command line tools
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: javapackages-toolsAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, mizdebsk, msrb, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.3.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-08 18:19:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mikolaj Izdebski 2013-10-01 16:57:59 UTC
Description of problem:
It looks like %mvn_*  macros perform too strict argument checking.

Version-Release number of selected component (if applicable):
3.3.0-1

Steps to Reproduce:
1. python /usr/share/java-utils/mvn_alias.py ':{woodstox-core}-asl' @1-lgpl

Actual results:
Usage: mvn_alias.py [options] <MVN spec> <MVN spec> [MVN spec ...]
mvn_alias.py: error: Unable to create Artifact from supplied arguments (@1-lgpl): Provided artifact strings were invalid. Please see help  and check your arguments

Expected results:
Command succeeds and config file is created.

Comment 1 Mikolaj Izdebski 2013-10-02 16:17:29 UTC
Test case added upstream in 25d9587.

Comment 2 Mikolaj Izdebski 2013-10-08 18:02:37 UTC
Fixed in javapackages-tools-3.3.1-1

Comment 3 Mikolaj Izdebski 2013-10-08 18:19:18 UTC
I believe that this bug is fixed in javapackages-tools-3.3.1-1,
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=469008