Commit 9c552cd4 authored by lichenchong's avatar lichenchong
Browse files

Kinetic pom file:

Modify configuration for cobertura plugin in pom.xml
parent 819ed0a4
Loading
Loading
Loading
Loading
+20 −5
Original line number Diff line number Diff line
@@ -68,17 +68,32 @@
						<plugin>
							<groupId>org.codehaus.mojo</groupId>
							<artifactId>cobertura-maven-plugin</artifactId>
							<version>2.2</version>
							<version>2.6</version>
							<configuration>
								<check>
									<formats>
										<format>xml</format>
									</formats>
									<branchRate>70</branchRate>
									<lineRate>70</lineRate>
									<haltOnFailure>false</haltOnFailure>
									<totalBranchRate>70</totalBranchRate>
									<totalLineRate>70</totalLineRate>
									<packageLineRate>70</packageLineRate>
									<packageBranchRate>70</packageBranchRate>
									<instrumentation>
										<excludes>
											<exclude>com/seagate/**/http/**/*.class</exclude>
											<exclude>com/seagate/**/udt/**/*.class</exclude>
										</excludes>
									</instrumentation>
								</check>
							</configuration>
							<executions>
								<execution>
									<phase>package</phase>
									<goals>
										<goal>cobertura</goal>
										<goal>check</goal>
									</goals>
								</execution>
							</executions>