Skip to content
Snippets Groups Projects
Commit e941949e authored by User expired's avatar User expired
Browse files

OPENOLAT-425: added javovo maven plugin

parent 1f1e9187
No related branches found
No related tags found
No related merge requests found
...@@ -816,6 +816,15 @@ ...@@ -816,6 +816,15 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin><groupId>org.jacoco</groupId><artifactId>jacoco-maven-plugin</artifactId><version>0.7.7.201606060606</version><executions>
<execution><id>default-prepare-agent</id><goals><goal>prepare-agent</goal></goals></execution>
<execution><id>default-report</id><phase>prepare-package</phase><goals><goal>report</goal></goals></execution>
<execution><id>default-check</id><goals><goal>check</goal></goals><configuration><rules><!-- implementation is needed only for Maven 2 -->
<rule implementation="org.jacoco.maven.RuleConfiguration"><element>BUNDLE</element><limits><!-- implementation is needed only for Maven 2 -->
<limit implementation="org.jacoco.report.check.Limit"><counter>COMPLEXITY</counter><value>COVEREDRATIO</value><minimum>0.60</minimum></limit>
</limits></rule></rules></configuration>
</execution></executions>
</plugin>
</plugins> </plugins>
</build> </build>
</profile> </profile>
...@@ -1022,6 +1031,15 @@ ...@@ -1022,6 +1031,15 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin><groupId>org.jacoco</groupId><artifactId>jacoco-maven-plugin</artifactId><version>0.7.7.201606060606</version><executions>
<execution><id>default-prepare-agent</id><goals><goal>prepare-agent</goal></goals></execution>
<execution><id>default-report</id><phase>prepare-package</phase><goals><goal>report</goal></goals></execution>
<execution><id>default-check</id><goals><goal>check</goal></goals><configuration><rules><!-- implementation is needed only for Maven 2 -->
<rule implementation="org.jacoco.maven.RuleConfiguration"><element>BUNDLE</element><limits><!-- implementation is needed only for Maven 2 -->
<limit implementation="org.jacoco.report.check.Limit"><counter>COMPLEXITY</counter><value>COVEREDRATIO</value><minimum>0.60</minimum></limit>
</limits></rule></rules></configuration>
</execution></executions>
</plugin>
</plugins> </plugins>
</build> </build>
</profile> </profile>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment