Replies: 1 comment 2 replies
-
Pomchecker is not responsible for this behavior, JReleaser is. It's possible to globally skip checking for sources and javadoc JARs when configured at the deployer level, instead of using Opening a JAR and checking its contents takes time. Also, there are JAR files that only contain resource files which I believe will still trigger the sources rule check performed by Maven Central. Thus that solution is not optional at the moment. This being said, I'll reach to Sonatype to find out more about the checks they perform on their side and see if they can be replicated by JReleaser. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are some JARs that contain only resources (and some are empty), thus it makes no sense to have a
-sources
and a-javadoc
in these cases.My use case is a bit different, so using
artifactOverrides
isn't an option here as I'm using a centralizedjreleaser.yml
which is invoked for deployment (https://github.com/quarkiverse/quarkiverse-release/blob/main/jreleaser.yml).Would it make sense if pomchecker checked if any
.class
exists inside the JAR before requiring a-sources
and-javadoc
? IMHO that would be the only reason those would be needed.Beta Was this translation helpful? Give feedback.
All reactions