You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project my-app: Failed to deploy artifacts: Could not transfer artifact com.mycompany.app:my-app:jar:win:1.19 from/to github (https://maven.pkg.github.com/zong-zhe/JavaTest): transfer failed for https://maven.pkg.github.com/zong-zhe/JavaTest/com/mycompany/app/my-app/1.19/my-app-1.19-win.jar, status: 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.
Then, I find that the lib-0.1.0.jar is uploaded to the github package successfully, lib-0.1.0-win.jar and lib-0.1.0-linux.jar is failed.
PackagesHost your dependencies, libraries, and production-ready code, right from your repositoryQuestion
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
Question
Body
I want to deploy my java maven project to github package.
It is a jni binding, so it contains
the
pom.xml
isI use the command
mvn deploy
.But I got
Then, I find that the
lib-0.1.0.jar
is uploaded to the github package successfully,lib-0.1.0-win.jar
andlib-0.1.0-linux.jar
is failed.Beta Was this translation helpful? Give feedback.
All reactions