Artefact upload to Maven repository with '+' in the artefact name

(Mark Himsley) #1

I’m using Gradle to compile my Java, create an exploded WAR, put that into a Debian .deb package, and publish that to a Nexus repository.

The Debian .deb file name is based on the package name and its version. If the .deb name ends up with a ‘+’ character somewhere in it, which is not an illegal character for the .deb file name, then the HTTP upload fails.

I presume the ‘+’ should be being URL escaped, but isn’t.