]
David virgil naranjo updated SRAMP-505:
---------------------------------------
Git Pull Request:
maven:deploy CLI command missing maven.type property sometimes
--------------------------------------------------------------
Key: SRAMP-505
URL:
https://issues.jboss.org/browse/SRAMP-505
Project: S-RAMP
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Shell
Reporter: Eric Wittmann
Assignee: David virgil naranjo
Fix For: 0.5.0
The maven:deploy s-ramp cli command does not currently set the maven.type property under
all circumstances. A requirement is that maven.type always be set. Currently the CLI
command gets this information from the arguments to the command. In some cases the user
will not include the "type" information on the command line. In this case the
type should be pulled from the file extension of the file being uploaded.
If the file being uploaded does *not* have an extension and the maven.type is not
provided as part of the GAV argument, then the command should fail.
Note: the name of the artifact should also include the file's extension - this is
currently being left off.