[ https://jira.codehaus.org/browse/MNG-5253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Barrie Treloar closed MNG-5253. ------------------------------- Resolution: Duplicate See duplicate WAGON-260 with workaround of setting password to no greater than 76 characters. > 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