Bug 1014301 - javapackages-tools: Improve error messages for command line tools
Summary: javapackages-tools: Improve error messages for command line tools
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: javapackages-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-01 16:57 UTC by Mikolaj Izdebski
Modified: 2013-10-08 18:19 UTC (History)
4 users (show)

Fixed In Version: 3.3.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-08 18:19:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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