cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [1/3] git commit: updated refs/heads/4.3-forward to c307de3
Date Sat, 25 Jan 2014 09:52:17 GMT
Updated Branches:
  refs/heads/4.3-forward 81a83b5b3 -> c307de312


Backport findbugs configuration to 4.3 so we can run a findbugs report in jenkins.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c307de31
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c307de31
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c307de31

Branch: refs/heads/4.3-forward
Commit: c307de312dccb55cb4d57f0ebde7859606f983c0
Parents: 60ac127
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Sat Jan 25 10:51:10 2014 +0100
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Sat Jan 25 10:52:09 2014 +0100

----------------------------------------------------------------------
 pom.xml | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c307de31/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 68d8dad..7af7139 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,6 +87,7 @@
     <cs.daemon.version>1.0.10</cs.daemon.version>
     <cs.jna.version>4.0.0</cs.jna.version>
     <cs.checkstyle.version>2.10</cs.checkstyle.version>
+    <cs.findbugs.version>2.5.3</cs.findbugs.version>
   </properties>
 
   <distributionManagement>
@@ -444,6 +445,21 @@
     </testResources>
     <outputDirectory>${basedir}/${cs.target.dir}/classes</outputDirectory>
     <testOutputDirectory>${basedir}/${cs.target.dir}/test-classes</testOutputDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>cloudstack-findbugs</id>
+            <phase>none</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
     <pluginManagement>
       <plugins>
         <plugin>
@@ -712,6 +728,25 @@
             </formats>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>findbugs-maven-plugin</artifactId>
+          <version>${cs.findbugs.version}</version>
+          <configuration>
+            <effort>Max</effort>
+            <threshold>High</threshold>
+            <xmlOutput>true</xmlOutput>
+            <failOnError>false</failOnError>
+          </configuration>
+          <executions>
+            <execution>
+              <id>cloudstack-findbugs</id>
+              <goals>
+                <goal>check</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -771,5 +806,23 @@
         <module>vmware-base</module>
       </modules>
     </profile>
+    <profile>
+      <id>enablefindbugs</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>findbugs-maven-plugin</artifactId>
+              <executions>
+                <execution>
+                  <id>cloudstack-findbugs</id>
+                  <phase>process-classes</phase>
+                  <inherited>true</inherited>
+                </execution>
+              </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>  
   </profiles>
 </project>


Mime
View raw message