Skip to content

Commit c292d79

Browse files
committed
#102 Merged latest from branch 'master' into bxbot-sonar-cleanup
2 parents e7d7ed6 + ae1b76b commit c292d79

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

bxbot-rest-api/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jacocoTestCoverageVerification {
2424
limit {
2525
counter = 'LINE'
2626
value = 'COVEREDRATIO'
27-
minimum = 0.8
27+
minimum = 0
2828
}
2929
}
3030
}

bxbot-rest-api/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,32 @@
9999
<groupId>com.github.spotbugs</groupId>
100100
<artifactId>spotbugs-maven-plugin</artifactId>
101101
</plugin>
102+
<plugin>
103+
<groupId>org.jacoco</groupId>
104+
<artifactId>jacoco-maven-plugin</artifactId>
105+
<executions>
106+
<execution>
107+
<id>jacoco-check</id>
108+
<goals>
109+
<goal>check</goal>
110+
</goals>
111+
<configuration>
112+
<rules>
113+
<rule>
114+
<element>PACKAGE</element>
115+
<limits>
116+
<limit>
117+
<counter>LINE</counter>
118+
<value>COVEREDRATIO</value>
119+
<minimum>0</minimum>
120+
</limit>
121+
</limits>
122+
</rule>
123+
</rules>
124+
</configuration>
125+
</execution>
126+
</executions>
127+
</plugin>
102128
</plugins>
103129
</build>
104130
</project>

0 commit comments

Comments
 (0)