Merge pull request #605 from apache/WW-5232-coverage

[WW-5232] Applies proper coverage settings for Jacoco plugin and Sonar
This commit is contained in:
Lukasz Lenart
2022-09-28 10:34:35 +02:00
committed by GitHub
5 changed files with 8 additions and 4 deletions
+1
View File
@@ -125,6 +125,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine}</argLine>
<excludes>
<exclude>it/**</exclude>
<exclude>**/*$*</exclude>
+1
View File
@@ -237,6 +237,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine}</argLine>
<excludes>
<exclude>it/**</exclude>
<exclude>**/*$*</exclude>
+1 -3
View File
@@ -41,6 +41,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine}</argLine>
<properties>
<property>
<name>maven.testng.output.dir</name>
@@ -54,9 +55,6 @@
<element>${project.build.testOutputDirectory}/xwork - jar.jar</element>
<element>${project.build.testOutputDirectory}/xwork - zip.zip</element>
</additionalClasspathElements>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/XWorkTestCase.java</exclude>
<exclude>**/TestBean.java</exclude>
+1
View File
@@ -97,6 +97,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine}</argLine>
<additionalClasspathElements>
<element>${project.build.testOutputDirectory}/jsps.jar</element>
</additionalClasspathElements>
+4 -1
View File
@@ -130,6 +130,8 @@
<sonar.organization>apache</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.exclusions>apps/**</sonar.exclusions>
<argLine>-Duser.language=en -Duser.country=US -Duser.region=US</argLine>
</properties>
<profiles>
@@ -199,6 +201,7 @@
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
-Dillegal-access=permit
@{argLine}
</argLine>
</configuration>
</plugin>
@@ -264,7 +267,7 @@
</dependency>
</dependencies>
<configuration>
<argLine>-Duser.language=en -Duser.region=US</argLine>
<argLine>@{argLine}</argLine>
<includes>
<include>**/*Test.java</include>
</includes>