【原创】[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.2:sonar (def...

时间:2024-04-10 18:36:22

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.2:sonar (default-cli) on project 工程名: Unable to request: /batch/project?key=xxx:xxxx&preview=false: Read timed out -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.2:sonar (default-cli) on project 工程名: Unable to request: /batch/project?key=xxx:xxxx&preview=false

 

原因:

1,hudson项目配置中对sonar指定自己安装的jdk

【原创】[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.2:sonar (def...

 

2,对项目pom.xml 配置设置超时时间

【原创】[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.2:sonar (def...

3,对Hudson的内存配置要大些,1G以上