Skip to content

Pb de déploiement des versions SNAPSHOTs #16

@bdelion

Description

@bdelion

Lors du déploiement via GitHub Actions, on a l'erreur suivante :

[INFO] --- maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) @ simple-java8-validator ---
Downloading from github: https://maven.pkg.github.com/bdelion/maven-packages/fr/fifiz/training/app/java/simple-java8-validator/1.0.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata fr.fifiz.training.app.java:simple-java8-validator:1.0.0-SNAPSHOT/maven-metadata.xml from/to github (https://maven.pkg.github.com/bdelion/maven-packages): Transfer failed for https://maven.pkg.github.com/bdelion/maven-packages/fr/fifiz/training/app/java/simple-java8-validator/1.0.0-SNAPSHOT/maven-metadata.xml 400 Bad Request
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.677 s
[INFO] Finished at: 2020-04-14T14:54:10Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) on project simple-java8-validator: ArtifactDeployerException: Failed to retrieve remote metadata fr.fifiz.training.app.java:simple-java8-validator:1.0.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata fr.fifiz.training.app.java:simple-java8-validator:1.0.0-SNAPSHOT/maven-metadata.xml from/to github (https://maven.pkg.github.com/bdelion/maven-packages): Transfer failed for https://maven.pkg.github.com/bdelion/maven-packages/fr/fifiz/training/app/java/simple-java8-validator/1.0.0-SNAPSHOT/maven-metadata.xml 400 Bad Request -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
##[error]Process completed with exit code 1.

Si j'accède à l'URL https://maven.pkg.github.com/bdelion/maven-packages/fr/fifiz/training/app/java/simple-java8-validator/1.0.0-SNAPSHOT/maven-metadata.xml via un navigateur web avec mon compte + le token qui va bien, j'ai un code retour 400 et le message suivant :

error retrieving metadata for snapshot file: simple-java8-validator-1.0.0-20200414.125957-1-jar-with-dependencies.jar

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions