mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 08:15:48 +00:00
Fix JaCoCo & SonarCloud config
This commit is contained in:
+15
-5
@@ -16,7 +16,10 @@
|
|||||||
<java.version>18</java.version>
|
<java.version>18</java.version>
|
||||||
|
|
||||||
<sonar.projectKey>grimsi_gameyfin</sonar.projectKey>
|
<sonar.projectKey>grimsi_gameyfin</sonar.projectKey>
|
||||||
<sonar.coverage.jacoco.xmlReportPaths>./backend/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
|
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
|
||||||
|
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
|
||||||
|
<sonar.jacoco.reportPath>${project.basedir}/../target/jacoco.exec</sonar.jacoco.reportPath>
|
||||||
|
<sonar.language>java</sonar.language>
|
||||||
|
|
||||||
<springdoc-openapi-ui.version>1.6.11</springdoc-openapi-ui.version>
|
<springdoc-openapi-ui.version>1.6.11</springdoc-openapi-ui.version>
|
||||||
<resilience4j.version>1.7.1</resilience4j.version>
|
<resilience4j.version>1.7.1</resilience4j.version>
|
||||||
@@ -26,6 +29,7 @@
|
|||||||
<protobuf-java.version>3.21.7</protobuf-java.version>
|
<protobuf-java.version>3.21.7</protobuf-java.version>
|
||||||
<easy-random.version>5.0.0</easy-random.version>
|
<easy-random.version>5.0.0</easy-random.version>
|
||||||
<easy-random-protobuf.version>0.4.0</easy-random-protobuf.version>
|
<easy-random-protobuf.version>0.4.0</easy-random-protobuf.version>
|
||||||
|
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
|
||||||
|
|
||||||
<!-- Use older version because the newer versions have problems with non-ASCII characters in properties files (umlauts etc.) -->
|
<!-- Use older version because the newer versions have problems with non-ASCII characters in properties files (umlauts etc.) -->
|
||||||
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
|
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
|
||||||
@@ -262,14 +266,20 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.jacoco</groupId>
|
<groupId>org.jacoco</groupId>
|
||||||
<artifactId>jacoco-maven-plugin</artifactId>
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
<version>0.8.8</version>
|
<version>${jacoco-maven-plugin.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>report</id>
|
<id>jacoco-initialize</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>report-aggregate</goal>
|
<goal>prepare-agent</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>jacoco-site</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>report</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>verify</phase>
|
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|||||||
Reference in New Issue
Block a user