Add findbug plugin and put into .travis.yml

Project: 
http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/commit/c678cc4b
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/tree/c678cc4b
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/diff/c678cc4b

Branch: refs/heads/jms-dev-1.1.0
Commit: c678cc4b95abc4bc3f7d3bc409483f33508dd80e
Parents: 80ca41c
Author: zhangke <[email protected]>
Authored: Wed Mar 1 23:36:35 2017 +0800
Committer: zhangke <[email protected]>
Committed: Wed Mar 1 23:36:35 2017 +0800

----------------------------------------------------------------------
 .travis.yml | 2 +-
 pom.xml     | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/blob/c678cc4b/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 33841d0..5417765 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,7 +35,7 @@ before_install:
 
 
 script:
-  - travis_retry mvn -B clean install jacoco:report
+  - travis_retry mvn -B clean install findbugs:findbugs jacoco:report
 
 #after_success:
 #  - mvn clean install

http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/blob/c678cc4b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4340ec5..7bd3af1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -265,6 +265,11 @@
                 <artifactId>coveralls-maven-plugin</artifactId>
                 <version>4.3.0</version>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>3.0.4</version>
+            </plugin>
         </plugins>
     </build>
 </project>

Reply via email to