In trying to do an Apache release, the release:perform goal fails when uploading
to the Apache repository.

I've tried 3 times, with 2 different JVMs (Sun/Oracle and IBM), all give this 
error:

[INFO] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on
project uima-addons-parent: Failed to deploy artifacts: Could not transfer
artifact org.apache.uima:uima-addons-parent:pom:2.3.1 from/to
apache.releases.https
(https://repository.apache.org/service/local/staging/deploy/maven2):
java.lang.IllegalArgumentException: Illegal character(s) in message header
value: Basic
c2Nob3I6e05CeGU5SlJ3anE4SEFqK0pvcFRUK1I1emo5VDd4N1JEaDl3bFdPbEI2Q0RXUXVRd2k2
[INFO] [ERROR] dm1sSlpzZTVQM0ZrU ... etc.

I googled this, and found this http://markmail.org/message/nscp44q2tm6qh3di

It says it's a known bug in JRE's base64 encoder, which is used by the
"lightweight" wagon used to deploy.

The suggestion is "Try to force Maven to use some other wagon instead of the
lightweight one".

I don't know how to do that; any suggestions?  Are there other work-arounds?
This is a blocker for our release.

-Marshall Schor

Reply via email to