This message was deleted.
# community-support
s
This message was deleted.
l
It is quite annoying that the Shadow plugin used a method named
component
here while it does not mutate the component at all but instead messes with the publication. Note that doing that means that the POM and GMM files are out of sync. So indeed you should rely on the
java
component, properly configured to publish the
shadow
jar as its main artifact.
t
it's annoyed me for years. Finally decided to try to configure it properly after I found a very random mention of "shadowRuntimeElements" in the changelog for Shadow 6.0! The shadow docs still only discuss the older method, though. Very frustrating.