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


The following commit(s) were added to refs/heads/master by this push:
     new 897bbc9  Move spotbugs plugin to JDK 1.8 profile
897bbc9 is described below

commit 897bbc93399105d1856d71400255fb40f910e864
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Wed Jul 14 19:06:44 2021 +0100

    Move spotbugs plugin to JDK 1.8 profile
    
    The plugin fails to execute in JDK 1.7 on travis CI.
---
 pom.xml | 58 ++++++++++++++++++++++++++++++----------------------------
 1 file changed, 30 insertions(+), 28 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8395e0b..4b3e417 100644
--- a/pom.xml
+++ b/pom.xml
@@ -191,24 +191,7 @@
           </ignorePathsToDelete>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>com.github.spotbugs</groupId>
-        <artifactId>spotbugs-maven-plugin</artifactId>
-        <version>${commons.spotbugs.version}</version>
-        <configuration>
-          <threshold>Normal</threshold>
-          <effort>Default</effort>
-          
<excludeFilterFile>${rng.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
+      <!-- spotbugs-maven-plugin runs in JDK 8+ profile so not included here 
-->
       <!-- maven-checkstyle-plugin runs in JDK 8+ profile so not included here 
-->
       <plugin>
         <artifactId>maven-pmd-plugin</artifactId>
@@ -327,16 +310,7 @@
           <component>${rng.jira.component}</component>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>com.github.spotbugs</groupId>
-        <artifactId>spotbugs-maven-plugin</artifactId>
-        <version>${commons.spotbugs.version}</version>
-        <configuration>
-          <threshold>Normal</threshold>
-          <effort>Default</effort>
-          
<excludeFilterFile>${rng.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
-        </configuration>
-      </plugin>
+      <!-- spotbugs-maven-plugin runs in JDK 8+ profile so not included here 
-->
       <!-- maven-checkstyle-plugin runs in JDK 8+ profile so not included here 
-->
       <plugin>
         <artifactId>maven-pmd-plugin</artifactId>
@@ -599,6 +573,24 @@ Running "svn up" will download *all* the files of the live 
web site at
       <build>
         <plugins>
           <plugin>
+            <groupId>com.github.spotbugs</groupId>
+            <artifactId>spotbugs-maven-plugin</artifactId>
+            <version>${commons.spotbugs.version}</version>
+            <configuration>
+              <threshold>Normal</threshold>
+              <effort>Default</effort>
+              
<excludeFilterFile>${rng.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
+            </configuration>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-checkstyle-plugin</artifactId>
             <version>${rng.checkstyle.version}</version>
@@ -635,6 +627,16 @@ Running "svn up" will download *all* the files of the live 
web site at
       <reporting>
         <plugins>
           <plugin>
+            <groupId>com.github.spotbugs</groupId>
+            <artifactId>spotbugs-maven-plugin</artifactId>
+            <version>${commons.spotbugs.version}</version>
+            <configuration>
+              <threshold>Normal</threshold>
+              <effort>Default</effort>
+              
<excludeFilterFile>${rng.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
+            </configuration>
+          </plugin>
+          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-checkstyle-plugin</artifactId>
             <version>${rng.checkstyle.version}</version>

Reply via email to