|
80 | 80 | <aspectj-maven-plugin.version>1.14.0</aspectj-maven-plugin.version>
|
81 | 81 | <spotless.version>2.27.2</spotless.version>
|
82 | 82 | <jacoco.version>0.8.8</jacoco.version>
|
| 83 | + <sonar-maven-plugin.version>4.0.0.4121</sonar-maven-plugin.version> |
| 84 | + <sonar.projectKey>apache-dolphinscheduler</sonar.projectKey> |
| 85 | + <sonar.organization>apache</sonar.organization> |
83 | 86 | <maven.deploy.skip>false</maven.deploy.skip>
|
84 | 87 | <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
|
85 | 88 | <auto-service.version>1.0.1</auto-service.version>
|
86 |
| - <jacoco.skip>false</jacoco.skip> |
87 | 89 | <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
|
88 | 90 | <exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
|
89 | 91 | <owasp-dependency-check-maven.version>9.2.0</owasp-dependency-check-maven.version>
|
|
626 | 628 | <groupId>org.jacoco</groupId>
|
627 | 629 | <artifactId>jacoco-maven-plugin</artifactId>
|
628 | 630 | <version>${jacoco.version}</version>
|
629 |
| - <configuration> |
630 |
| - <skip>${jacoco.skip}</skip> |
631 |
| - <dataFile>${project.build.directory}/jacoco.exec</dataFile> |
632 |
| - </configuration> |
633 | 631 | <executions>
|
634 | 632 | <execution>
|
635 |
| - <id>default-instrument</id> |
636 |
| - <goals> |
637 |
| - <goal>instrument</goal> |
638 |
| - </goals> |
639 |
| - </execution> |
640 |
| - <execution> |
641 |
| - <id>default-restore-instrumented-classes</id> |
642 | 633 | <goals>
|
643 |
| - <goal>restore-instrumented-classes</goal> |
| 634 | + <goal>prepare-agent</goal> |
644 | 635 | </goals>
|
645 | 636 | </execution>
|
646 | 637 | <execution>
|
647 |
| - <id>default-report</id> |
| 638 | + <id>report</id> |
648 | 639 | <goals>
|
649 | 640 | <goal>report</goal>
|
650 | 641 | </goals>
|
| 642 | + <phase>prepare-package</phase> |
651 | 643 | </execution>
|
652 | 644 | </executions>
|
653 | 645 | </plugin>
|
| 646 | + <plugin> |
| 647 | + <groupId>org.sonarsource.scanner.maven</groupId> |
| 648 | + <artifactId>sonar-maven-plugin</artifactId> |
| 649 | + <version>${sonar-maven-plugin.version}</version> |
| 650 | + </plugin> |
654 | 651 | <plugin>
|
655 | 652 | <groupId>com.github.spotbugs</groupId>
|
656 | 653 | <artifactId>spotbugs-maven-plugin</artifactId>
|
|
0 commit comments