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/29 07:29:31 UTC

[commons-rng] branch master updated (5d64b27e -> f50ef349)

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

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


    from 5d64b27e Run examples on JDK 17
     new 5c75c95a Skip generated files in JMH module
     new f50ef349 Skip spotbugs in JMH module

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 commons-rng-examples/examples-jmh/pom.xml | 45 +++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)


[commons-rng] 01/02: Skip generated files in JMH module

Posted by ah...@apache.org.
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-rng.git

commit 5c75c95aa5d0555f99d0b4c3c44c9512492945d9
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sun May 29 08:26:16 2022 +0100

    Skip generated files in JMH module
---
 commons-rng-examples/examples-jmh/pom.xml | 44 +++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/commons-rng-examples/examples-jmh/pom.xml b/commons-rng-examples/examples-jmh/pom.xml
index 5b4d18ce..e62bb9ba 100644
--- a/commons-rng-examples/examples-jmh/pom.xml
+++ b/commons-rng-examples/examples-jmh/pom.xml
@@ -94,6 +94,50 @@
 
   </properties>
 
+  <build>
+    <plugins>
+      <plugin>
+        <!-- NOTE: javadoc config must also be set under <reporting> -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <sourceFileExcludes>
+            <sourceFileExclude>**/jmh_generated/*.java</sourceFileExclude>
+          </sourceFileExcludes>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <excludes>**/jmh_generated/*.java</excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <!-- NOTE: javadoc config must also be set under <build> -->
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <sourceFileExcludes>
+            <sourceFileExclude>**/jmh_generated/*.java</sourceFileExclude>
+          </sourceFileExcludes>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <excludes>**/jmh_generated/*.java</excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+
   <profiles>
     <profile>
       <!-- Run a named benchmark from maven. The class to run can be specified as a property


[commons-rng] 02/02: Skip spotbugs in JMH module

Posted by ah...@apache.org.
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-rng.git

commit f50ef34941047323e3b69f2b04a020ab011f6422
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sun May 29 08:27:00 2022 +0100

    Skip spotbugs in JMH module
---
 commons-rng-examples/examples-jmh/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/commons-rng-examples/examples-jmh/pom.xml b/commons-rng-examples/examples-jmh/pom.xml
index e62bb9ba..54454a8a 100644
--- a/commons-rng-examples/examples-jmh/pom.xml
+++ b/commons-rng-examples/examples-jmh/pom.xml
@@ -76,6 +76,7 @@
     <project.mainClass>org.openjdk.jmh.Main</project.mainClass>
     <!-- Disable analysis for benchmarking code. -->
     <pmd.skip>true</pmd.skip>
+    <spotbugs.skip>true</spotbugs.skip>
 
     <!-- Skip tests. This avoids the lengthy test of the ziggurat samplers. Override using:
        mvn test -DskipTests=false