[
https://jira.codehaus.org/browse/MNG-5253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=302887#comment-302887
]
Scott Clasen commented on MNG-5253:
-----------------------------------
Hmm the workaround to deploy failing when the password is too long is to not
use a password that is too long??? Thats not a workaround.
> 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