aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index b78695d..3694dc8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -722,6 +722,43 @@
<hudson.sign.storepass>hudson</hudson.sign.storepass>
</properties>
</profile>
+
+ <profile>
+ <id>hudson</id>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>${cobertura-maven-plugin.version}</version>
+ <configuration>
+ <check>
+ <branchRate>80</branchRate>
+ <lineRate>80</lineRate>
+ <haltOnFailure>true</haltOnFailure>
+ <totalBranchRate>80</totalBranchRate>
+ <totalLineRate>80</totalLineRate>
+ <packageLineRate>80</packageLineRate>
+ <packageBranchRate>80</packageBranchRate>
+ </check>
+ <formats>
+ <format>xml</format>
+ </formats>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>cobertura</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
</profiles>
</project>