As an example we have the follwing setup:
- module 1: woodpecker with own source repo on GitHub
- module 2: roadrunner with own source repo on GitHub
- module 3: coyote with own source repo on GitHub
We don’t want to have a separate maven definition (in our build.gradle) for each of the modules as this would clutter up the complete build.gradle files. So we thought about having the publish task pointing to one central repository e.g. com.acme.
However in doing so we receive an HTTP 422 error like this one:
org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: Could not PUT ‘https://maven.pkg.github.com/Acme/com.acme/woodpecker/0.0.5/woodpecker-0.0.5.jar’. Received status code 422 from server: Unprocessable Entity
How can this be solved? Many thanks in advance and kind regards