Skip to content

Commit 8b2f61a

Browse files
authored
Revert "Remove certain blocks from Azure Communication Services Phone Numbers pom.xml to try to get code coverage set up. (Azure#35847)" (Azure#35850)
This reverts commit b2a3869.
1 parent e960a85 commit 8b2f61a

File tree

1 file changed

+21
-0
lines changed
  • sdk/communication/azure-communication-phonenumbers

1 file changed

+21
-0
lines changed

sdk/communication/azure-communication-phonenumbers/pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<test.dir>src/test</test.dir>
5252
<jacoco.min.linecoverage>0.68</jacoco.min.linecoverage>
5353
<jacoco.min.branchcoverage>0.66</jacoco.min.branchcoverage>
54+
<jacoco.skip>false</jacoco.skip>
5455
<!-- Configures the Java 9+ run to perform the required module exports, opens, and reads that are necessary for testing but shouldn't be part of the module-info. -->
5556
<javaModulesSurefireArgLine>
5657
--add-opens com.azure.communication.phonenumbers/com.azure.communication.phonenumbers=ALL-UNNAMED
@@ -126,6 +127,26 @@
126127

127128
<build>
128129
<plugins>
130+
<plugin>
131+
<groupId>org.jacoco</groupId>
132+
<artifactId>jacoco-maven-plugin</artifactId>
133+
<version>0.8.9</version> <!-- {x-version-update;org.jacoco:jacoco-maven-plugin;external_dependency} -->
134+
<configuration>
135+
<includes>
136+
<include>com/azure/communication/phonenumbers/*.class</include>
137+
<include>com/azure/communication/phonenumbers/siprouting/*.class</include>
138+
</includes>
139+
</configuration>
140+
<executions>
141+
<execution>
142+
<id>coverage-report</id>
143+
<phase>verify</phase>
144+
<goals>
145+
<goal>report</goal>
146+
</goals>
147+
</execution>
148+
</executions>
149+
</plugin>
129150
<plugin>
130151
<groupId>org.apache.maven.plugins</groupId>
131152
<artifactId>maven-enforcer-plugin</artifactId>

0 commit comments

Comments
 (0)