Commit c81478c21a66a3decb94a3b234bbbe023c6d4525
1 parent
1ecab260
由于sonar的版本升级,导致部分功能jdk1.7无法使用
只 安装jdk1.7的,可以正常执行mvn install 安装jdk1.8的,可以执行mvn install或者mvn install sonar:sonar
Showing
1 changed file
with
1 additions
and
10 deletions
pom.xml
... | ... | @@ -568,20 +568,11 @@ |
568 | 568 | |
569 | 569 | |
570 | 570 | |
571 | - <!-- 切换到项目根目录执行mvn clean compile test package sonar:sonar能够生成测试报告 http://172.16.8.244:9000可以查看 --> | |
571 | + <!-- 切换到项目根目录执行mvn clean compile test package sonar:sonar能够生成测试报告 http://172.16.8.244:9000可以查看 --> | |
572 | 572 | <plugin> |
573 | 573 | <groupId>org.sonarsource.scanner.maven</groupId> |
574 | 574 | <artifactId>sonar-maven-plugin</artifactId> |
575 | 575 | <version>3.3.0.603</version> |
576 | - <executions> | |
577 | - <execution> | |
578 | - <id>sonar</id> | |
579 | - <phase>package</phase> | |
580 | - <goals> | |
581 | - <goal>sonar</goal> | |
582 | - </goals> | |
583 | - </execution> | |
584 | - </executions> | |
585 | 576 | </plugin> |
586 | 577 | <!-- 拷贝依赖包插件 --> |
587 | 578 | <plugin> | ... | ... |