You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/05/27 15:52:51 UTC

[commons-statistics] 02/02: Exclude JMH generated files from javadoc

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git

commit 6826e64874bd6856cd2bed711431a0f386e272b5
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Fri May 27 16:52:38 2022 +0100

    Exclude JMH generated files from javadoc
---
 commons-statistics-examples/examples-jmh/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/commons-statistics-examples/examples-jmh/pom.xml b/commons-statistics-examples/examples-jmh/pom.xml
index d2f8ec4..8c13143 100644
--- a/commons-statistics-examples/examples-jmh/pom.xml
+++ b/commons-statistics-examples/examples-jmh/pom.xml
@@ -84,6 +84,9 @@
         <configuration>
           <!--  Enable MathJax -->
           <additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${statistics.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
+          <sourceFileExcludes>
+            <sourceFileExclude>**/jmh_generated/*.java</sourceFileExclude>
+          </sourceFileExcludes>
         </configuration>
       </plugin>
     </plugins>
@@ -98,6 +101,9 @@
         <configuration>
           <!--  Enable MathJax -->
           <additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${statistics.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
+          <sourceFileExcludes>
+            <sourceFileExclude>**/jmh_generated/*.java</sourceFileExclude>
+          </sourceFileExcludes>
         </configuration>
       </plugin>
     </plugins>