[ 
https://jira.codehaus.org/browse/WAGON-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=321363#comment-321363
 ] 

Jesse Glick commented on WAGON-392:
-----------------------------------

Some research e.g. in http://www.ietf.org/rfc/rfc2396.txt shows that underscore 
({{_}}) is in fact not a valid character in host names. ({{URI.getAuthority}} 
returns the host name but {{getHost}} correctly refuses to interpret it.) So 
the deployment repository is in fact invalid, and the wagon just needs to emit 
a more helpful error message. Can downgrade the priority here.
                
> Maven 3.0.5 regression in release:perform: "Host name may not be null"
> ----------------------------------------------------------------------
>
>                 Key: WAGON-392
>                 URL: https://jira.codehaus.org/browse/WAGON-392
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-http
>         Environment: Ubuntu 12.04 32-bit, JDK 7u15
>            Reporter: Jesse Glick
>            Priority: Blocker
>         Attachments: ssl.png
>
>
> With Maven 3.0.4 deploying to our Artifactory server from {{release:perform}} 
> works fine:
> {code:none}
> [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ ... ---
> Uploading: https://....artifactoryonline.com/.../releases/.../8/...-8.pom
> Uploaded: https://....artifactoryonline.com/.../releases/.../8/...-8.pom (16 
> KB at 11.1 KB/sec)
> {code}
> But the same command in Maven 3.0.5 fails:
> {code:none}
> [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ ... ---
> Uploading: https://....artifactoryonline.com/.../releases/.../8/...-8.pom
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] ...
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on 
> project ...: Failed to deploy artifacts: Could not transfer artifact 
> ...:...:pom:8 from/to ... (https://....artifactoryonline.com/.../releases): 
> Host name may not be null -> [Help 1]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to