Skip to content

Commit

Permalink
Update maven build script to generate unit test report.
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Jul 27, 2015
1 parent 6fec13a commit 6490b44
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion pom.xml
Expand Up @@ -5,7 +5,7 @@

<groupId>com.willwinder.universalgcodesender</groupId>
<artifactId>UGS</artifactId>
<version>1.7</version>
<version>2.0</version>

<packaging>jar</packaging>

Expand Down Expand Up @@ -318,6 +318,7 @@
</executions>
</plugin>

<!-- Configure the fat-jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down Expand Up @@ -356,6 +357,7 @@
</executions>
</plugin>

<!-- Generate the zip file. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
Expand All @@ -372,4 +374,34 @@
</plugins>
</build>

<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${surefire.reportplugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura.version}</version>
<configuration>
<formats>
<format>xml</format>
</formats>
</configuration>
</plugin>
</plugins>
</reporting>

</project>

0 comments on commit 6490b44

Please sign in to comment.