Hi James,

thanks for reaching out!

Am 26.01.24 um 08:21 schrieb James Turton:
I'd like to ask about a feature to prevent RAT from allowing license headers to appear inside Javadoc comments  (/**) while still requiring them in Java comments (/*) in .java files. Currently the Drill project makes use of com.mycila.license-maven-plugin to reject licenses in Javadoc comments because the developers at the time didn't want license headers cluttering the Javadoc website that is generated from the source. Are you aware of  a general view on Apache license headers appearing in Javadoc pages? If preventing them from doing so is a good idea, could this become a (configurable) feature in RAT?

could you be so kind to provide an example of what you want to achieve and how your use case looks like?

I'm afraid I do not really understand what you mean with javadoc-specific licenses?

At the moment we don't have a file specific parsing to exclude comments - is that what you want to achieve?

On the other hand if a license header is needed per file, it has to be somewhere in the sources ;)

Thanks,
Phil

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to