File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 131131 <goal >jar</goal >
132132 </goals >
133133 <phase >${javadoc.generate.jar.phase} </phase >
134+ <!--
135+ Reduce the size of per-module javadoc jars published to Maven Central.
136+ These options are intentionally NOT in the shared pluginManagement configuration,
137+ so that the aggregated javadoc published to docs.hibernate.org is unaffected.
138+ -->
139+ <configuration >
140+ <!--
141+ Use a separate output directory so that the reduced javadoc
142+ does not get mixed with the full javadoc from the generate-javadoc execution.
143+ -->
144+ <outputDirectory >${project.build.directory} /javadoc-jar</outputDirectory >
145+ <additionalOptions >
146+ <additionalOption >-html5</additionalOption >
147+ <additionalOption >-Xdoclint:all,-missing</additionalOption >
148+ <additionalOption >--add-script resources/theme-switch.js</additionalOption >
149+ <!-- Don't repeat inherited method docs; link to the declaring type instead -->
150+ <additionalOption >--override-methods summary</additionalOption >
151+ </additionalOptions >
152+ <!-- class-use pages add significant size; IDEs provide better "find usages" -->
153+ <use >false</use >
154+ <!-- Class hierarchy tree adds bulk; IDEs show this better -->
155+ <notree >true</notree >
156+ </configuration >
134157 </execution >
135158 </executions >
136159 </plugin >
You can’t perform that action at this time.
0 commit comments