[zanata-bugs] [Bug 1030231] New: Misleading error message when if one of the zanata.ini entries contains invalid URL
bugzilla at redhat.com
bugzilla at redhat.com
Thu Nov 14 08:29:35 UTC 2013
https://bugzilla.redhat.com/show_bug.cgi?id=1030231
Bug ID: 1030231
Summary: Misleading error message when if one of the zanata.ini
entries contains invalid URL
Product: Zanata
Version: 3.1
Component: Component-Maven
Severity: low
Assignee: irooskov at redhat.com
Reporter: dchen at redhat.com
QA Contact: zanata-qa at redhat.com
CC: zanata-bugs at redhat.com
Description of problem:
If one of the zanata.ini entries contains invalid URL, running maven client
return following error message:
[ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:3.1.2:push
(default-cli) on project standalone-pom: Zanata mojo exception: 'SERVER1..url'
doesn't map to a class java.net.URL: The value can't be converted to an URL:
no protocol: -> [Help 1]
Version-Release number of selected component (if applicable):
zanata-maven-plugin:3.1.2
How reproducible:
Always with following zanata.ini
# Start zanata.ini
[servers]
SERVER1.url =
SERVER1.username = USER1
SERVER1.key = KEY1
SERVER2.url = <SERVER2_URL>
SERVER2.username = USER2
SERVER2.key = KEY2
# End zanata.ini
Steps to Reproduce:
1. cd <A_ZANATA_PROJECT>
2. mvn -e zanata:push -Dzanata.url=<SERVER2_URL> -Dzanata.srcDir=pot
Actual results:
[ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:3.1.2:push
(default-cli) on project standalone-pom: Zanata mojo exception: 'SERVER1..url'
doesn't map to a class java.net.URL: The value can't be converted to an URL:
no protocol: -> [Help 1]
Expected results:
Invalid URL in SERVER1.url
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=jX8ZKQq7Em&a=cc_unsubscribe
More information about the zanata-bugs
mailing list