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

Barrie Treloar commented on MNG-5253:
-------------------------------------

I know, but given that the bug is actually in the JVM, and one they have not 
fixed until Java 7 you do not have any other options.
A 76 character password is still secure enough.
                
> exception from mvn deploy, fails when the username and password are too 
> secure/long
> -----------------------------------------------------------------------------------
>
>                 Key: MNG-5253
>                 URL: https://jira.codehaus.org/browse/MNG-5253
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0.3
>            Reporter: Scott Clasen
>         Attachments: pom.xml, settings.xml
>
>
> If the combination of the username and password is too long, the Base64 
> encoder used inserts newlines in the encoded value, which is invalid
> java.lang.IllegalArgumentException: Illegal character(s) in message header 
> value: Basic 
> c29tZVVzZXJuYW1lOnNvbWVMb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29v
> b29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vbmdQYXNzd29yZA==
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> Attaching a sample pom and settings, run 'mvn -s settings.xml deploy' to 
> reproduce

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

        

Reply via email to