I am trying to use a gitlab project as holder of packages for my group. I’m using a group deploy token (name/pass). My project uses Gradle. From my project clone (local machine)
gradle clean publish install
> Task :publishMavenPublicationToJpsgcsRepository FAILED Caching disabled for task ':publishMavenPublicationToJpsgcsRepository' because: Build cache is disabled Task ':publishMavenPublicationToJpsgcsRepository' is not up-to-date because: Task has not declared any outputs despite executing actions. Publishing to repository 'jpsgcs' (https://gitlab.com/camplab/api/v4/projects/34294364/packages/maven) Uploading jpsgcs-3.3.2-1.jar to /camplab/api/v4/projects/34294364/packages/maven/jpsgcs/jpsgcs/3.3.2-1/jpsgcs-3.3.2-1.jar :publishMavenPublicationToJpsgcsRepository (Thread[Execution worker for ':',5,main]) completed. Took 1.075 secs. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':publishMavenPublicationToJpsgcsRepository'. > Failed to publish publication 'maven' to repository 'jpsgcs' > Could not PUT 'https://gitlab.com/camplab/api/v4/projects/34294364/packages/maven/jpsgcs/jpsgcs/3.3.2-1/jpsgcs-3.3.2-1.jar'. Received status code 422 from server: Unprocessable Entity
I had tried to package code this inside it’s own project recently. I don’t think that ever worked.