]> source.dussan.org Git - jgit.git/commitdiff
Add more reports to maven site 92/49092/3
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 29 May 2015 14:37:20 +0000 (16:37 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 1 Jun 2015 20:49:02 +0000 (22:49 +0200)
Add the following additional reports:
- cross-reference report
- API changes report using clirr
- findbugs report
- surefire-report

Run
$ mvn test install site:site site:stage
to generate and stage the site

Also see
https://wiki.eclipse.org/EGit/Contributor_Guide#JGit_3

Change-Id: Ibb6a2e13e128d7728b3c632cc16bf79716dc75f5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 5771d5ab56272f89edef33a745061e68cc4d17fa..2ed818b7175e9d1d2be53e4f6437d5a1db302b64 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             </dependency>
           </dependencies>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-report-plugin</artifactId>
+          <version>2.18.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jxr-plugin</artifactId>
+          <version>2.5</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-project-info-reports-plugin</artifactId>
+          <version>2.8</version>
+        </plugin>
       </plugins>
     </pluginManagement>
 
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-report-plugin</artifactId>
+      </plugin>
     </plugins>
   </build>
 
         <configuration>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jxr-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>clirr-maven-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-report-plugin</artifactId>
+        <configuration>
+          <aggregate>true</aggregate>
+          <alwaysGenerateSurefireReport>false</alwaysGenerateSurefireReport>
+          <reportsDirectories>
+            <reportsDirectories>${project.build.directory}/surefire-reports</reportsDirectories>
+          </reportsDirectories>
+        </configuration>
+      </plugin>
     </plugins>
   </reporting>