Maven Deploy Error 417 Expectation Failed

Hello,

I’m trying to set up a Nexus OSS Repository for the first time with Nexus 3.15.2 on a Windows Server 2012 and Maven 3.5.3. So far, I’m able to build a few sample projects and manually upload them to Nexus. I’m using the preconfigured maven-public repositories. Dependencies both in the maven-central and the hosted maven-release repository are found.

However, when I’m trying to deploy an artifact using the mvn deploy command, I get the error (abstracted host and classpath)
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project Lizenz: Failed to deploy artifacts: Could not transfer artifact <jar-name> from/to nexus (http://<host-ip>:8081/repository/maven-releases): Failed to transfer file: http://<host-ip>:8081/repository/maven-releases/<classpath>. Return code is: 417, ReasonPhrase: Expectation Failed.

As I understand it, this is a http error code, so apparently the data transfer between Maven and Nexus isn’t working. But I don’t know what could cause this error. Is it a problem with Nexus or rather with Maven?

A guess… is Apache running in front of Nexus?

So this would be a problem with the proxy? Unfortunately our local IT doesn’t have any control over our proxy, it’s administered somewhere else. We’re trying to figure out what we can do about it. Thanks for your suggestion.