Error 422 when trying to deploy a maven plugin into Github Packages #78554
Unanswered
jorgeb1980
asked this question in
Packages
Replies: 1 comment
-
Some additional info in order to reproduce the bug:
Differences between both commits: jorgeb1980/sample-maven-plugin@9ec48bc...cfb0237 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
While trying to publish a maven plugin into Github Packages, I have found this error
This was previously reported here - please see https://github.com/jorgeb1980/sample-maven-plugin for sample code that hits the issue.
It seems that github's implementation of maven2 repository fails to parse legal
maven-metadata.xml
group-level files produced bymaven-plugin-plugin
. These files are documented in https://maven.apache.org/repositories/metadata.html#the-g-level-metadata and appear to be a cache of sorts for plugin abbreviations.As far as I know, the generated file appears to be valid, and deployment is successful in OSS version of artifactory.
Beta Was this translation helpful? Give feedback.
All reactions