Open-Up / workshop-ifi-27-07-2018

Guiding IFI students on their way to their first free software contributions....
0 stars 3 forks source link

Allow to exclude some matcher/mailet from documentation #5

Open chibenwa opened 5 years ago

chibenwa commented 5 years ago

Apache James uses the mailetdocs-maven-plugin in order to build the mailet/matcher documentation.

This plugin scans the sources, finds mailet and matcher, then generates the documentation entry from its javadoc.

Nowadays all mailet and matchers are included.

This is a problem because we have some test specifics mailets/matcher that are not usable as part of James but still are reported as part of the documentation.

(Examples includes james-project/server/container/guice/custom-mailets/src/main/java/org/apache/james/transport/mailets/CustomMailet.java and the like, used to generate a separate library containing custom mailets/matchers in order to test custom mailets/matchers instanciation)

The goal of this ticket is to add a @ExcludeFromDocumentation annotation as part of the mailet-api. The plugin would skip such annotated mailets/matcher.

In order to to this:

See https://issues.apache.org/jira/browse/JAMES-2325

projefflearning commented 5 years ago

Nous on s'en occupe !!!