Open rubensousa opened 1 week ago
Looks like the plain maven-publish
plugin also behaves like this, so this could be the expected structure. Anyway, would be great if we could mention this in the docs to avoid mistakes. If someone specifies packaging = "jar"
the setup gets broken
I just spent quite some time figuring out why my plugin wasn't being found through mavenLocal in a separate project. Turns out that the marker artifact generated by this plugin is missing this in the POM file if I specify
pom.packaging=jar
for the pluginThis should be enough to reproduce:
If I remove
packaging = "jar"
then I get this in the marker POM:However, doing that removes the jar packaging from the plugin's artifact POM file:
Let me know if you need more information and if this is intended.