aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakozak2011-11-23 04:15:17 -0500
committerWinston Prakash2011-12-01 20:47:07 -0500
commit617fe7044b345d750d148c82524c2cb88a342606 (patch)
tree3e3c67690f7ff1ddd10686bbcc12611ddcc87d58 /hudson-core/pom.xml
parentd46c980cd2b2f31dd4ba4ef507877a4e4b0efdd4 (diff)
downloadorg.eclipse.hudson.core-617fe7044b345d750d148c82524c2cb88a342606.tar.gz
org.eclipse.hudson.core-617fe7044b345d750d148c82524c2cb88a342606.tar.xz
org.eclipse.hudson.core-617fe7044b345d750d148c82524c2cb88a342606.zip
Improves cobertura configuration.
Signed-off-by: Winston Prakash <winston.prakash@gmail.com>
Diffstat (limited to 'hudson-core/pom.xml')
-rw-r--r--hudson-core/pom.xml43
1 files changed, 9 insertions, 34 deletions
diff --git a/hudson-core/pom.xml b/hudson-core/pom.xml
index b43d1f17..9a9f0a17 100644
--- a/hudson-core/pom.xml
+++ b/hudson-core/pom.xml
@@ -308,40 +308,15 @@
</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>
+ <id>hudson</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
</profile>
</profiles>