Browse Source

added jacoco plugin to test codecov

Andreas Mülder 9 years ago
parent
commit
159a4a2039
1 changed files with 19 additions and 0 deletions
  1. 19 0
      releng/org.yakindu.sct.releng/pom.xml

+ 19 - 0
releng/org.yakindu.sct.releng/pom.xml

@@ -18,6 +18,25 @@
 	</properties>
 	<build>
 		<plugins>
+			<plugin>
+				<groupId>org.jacoco</groupId>
+				<artifactId>jacoco-maven-plugin</artifactId>
+				<version>0.7.5.201505241946</version>
+				<executions>
+					<execution>
+						<goals>
+							<goal>prepare-agent</goal>
+						</goals>
+					</execution>
+					<execution>
+						<id>report</id>
+						<phase>test</phase>
+						<goals>
+							<goal>report</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-resources-plugin</artifactId>