File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 ${{ runner.os }}-maven-
5656
5757 - name : Sonar
58- run : mvn org.jacoco:jacoco-maven-plugin:prepare-agent verify org.sonarsource.scanner.maven: sonar-maven-plugin :sonar -Dsonar.projectKey=org.utplsql:utplsql-maven-plugin
58+ run : mvn sonar:sonar -Pcoverage -Dsonar.projectKey=org.utplsql:utplsql-maven-plugin
5959 env :
6060 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6161 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 5858 <jaxb .version>2.3.1</jaxb .version>
5959 <sonar .organization>utplsql</sonar .organization>
6060 <sonar .host.url>https://sonarcloud.io</sonar .host.url>
61- <sonar .jacoco.reportPath>${project.basedir} /target/jacoco.exec</sonar .jacoco.reportPath>
6261 </properties >
6362
6463 <dependencies >
245244 </build >
246245
247246 <profiles >
247+ <profile >
248+ <id >coverage</id >
249+ <build >
250+ <plugins >
251+ <plugin >
252+ <groupId >org.jacoco</groupId >
253+ <artifactId >jacoco-maven-plugin</artifactId >
254+ <version >0.8.5</version >
255+ <executions >
256+ <execution >
257+ <id >prepare-agent</id >
258+ <goals >
259+ <goal >prepare-agent</goal >
260+ </goals >
261+ </execution >
262+ <execution >
263+ <id >report</id >
264+ <goals >
265+ <goal >report</goal >
266+ </goals >
267+ </execution >
268+ </executions >
269+ </plugin >
270+ </plugins >
271+ </build >
272+ </profile >
248273 <profile >
249274 <id >release</id >
250275 <activation >
You can’t perform that action at this time.
0 commit comments