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

ctubbsii pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo.git


The following commit(s) were added to refs/heads/master by this push:
     new da6d338  Update plugins to support building on JDK14 (#1093)
da6d338 is described below

commit da6d3382e6f7d941d79a7c72f0f4a1e372f4d1e2
Author: Christopher Tubbs <[email protected]>
AuthorDate: Thu May 28 13:41:48 2020 -0400

    Update plugins to support building on JDK14 (#1093)
    
    * Update enforcer plugin
    * Update spotbugs
    * (Also add color back to travis build console)
---
 .travis.yml |  2 +-
 pom.xml     | 10 +++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index c5efe12..a1120c9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,4 +28,4 @@ before_script:
 env:
   - BUILD_CMD="mvn clean verify javadoc:jar"
 script:
-  - $BUILD_CMD -B 
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
+  - $BUILD_CMD -B -Dstyle.color=always 
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
diff --git a/pom.xml b/pom.xml
index 947c583..1276bd5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,7 +62,6 @@
     <hadoop.version>3.1.1</hadoop.version>
     <releaseProfiles>fluo-release</releaseProfiles>
     <slf4j.version>1.7.12</slf4j.version>
-    <spotbugs.version>3.1.12</spotbugs.version>
     <thrift.version>0.12.0</thrift.version>
     <zookeeper.version>3.4.14</zookeeper.version>
   </properties>
@@ -76,7 +75,7 @@
       <dependency>
         <groupId>com.github.spotbugs</groupId>
         <artifactId>spotbugs-annotations</artifactId>
-        <version>${spotbugs.version}</version>
+        <version>4.0.2</version>
       </dependency>
       <dependency>
         <groupId>com.google.code.gson</groupId>
@@ -244,9 +243,14 @@
     <pluginManagement>
       <plugins>
         <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-enforcer-plugin</artifactId>
+          <version>3.0.0-M3</version>
+        </plugin>
+        <plugin>
           <groupId>com.github.spotbugs</groupId>
           <artifactId>spotbugs-maven-plugin</artifactId>
-          <version>${spotbugs.version}.1</version>
+          <version>4.0.0</version>
           <configuration>
             <xmlOutput>true</xmlOutput>
             <effort>Max</effort>

Reply via email to