Maven classifiers with dashes gets split in classifer & extension. #49682
Unanswered
glennlaursen
asked this question in
Packages
Replies: 1 comment
-
+1 This can wildy affect libraries that use os-maven-plugin to release JARs for different platform, like apache/opendal#2335. The classfier is like <snapshotVersion>
<extension>x86_64.jar</extension>
<classifier>osx</classifier>
<value>0.1.0-20230526.123613-1</value>
<updated>20230526123627</updated>
</snapshotVersion> |
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
When uploading a Jar with a classifier with dashes eg., jar-with-dependencies, GitHub Packages puts 'jar' in classifier and 'with-dependencies.jar' as extension.
Here is a snip of the maven-metadata.xml for this version of the package.
If you don't have dashes in the classifier ie., jarwithdependecies, then it gets put correctly.
Beta Was this translation helpful? Give feedback.
All reactions