瀏覽代碼

Added static code analysis reports.

These can be run by typing: "mvn site", and by opening the file: target/site/index.html
James Albright 9 年之前
父節點
當前提交
44aec391d9
共有 1 個文件被更改,包括 19 次插入0 次删除
  1. 19 0
      pom.xml

+ 19 - 0
pom.xml

@@ -333,6 +333,25 @@
         </plugins>
     </build>
 
+    <reporting>
+        <!-- 
+        Note: to run these reports, you can execute the maven command: "mvn site",
+        then you can view the results by opening the file: target/site/project-reports.html in your browser.
+         -->
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>3.0.4</version>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-pmd-plugin</artifactId>
+                <version>3.6</version>
+            </plugin>
+        </plugins>
+    </reporting>
+
     <dependencies>
         <!-- Test dependencies -->
         <dependency>