Maven SonarQube 6.3在尝试扫描二进制文件时失败

Maven SonarQube 6.3在尝试扫描二进制文件时失败,maven,sonarqube,Maven,Sonarqube,成功地从sonarqube 6.2升级到6.3后,一个项目的分析过程失败。错误消息是无法读取源文件:“…/ajax.gif”,其字符集为:“UTF-8”。输入长度=1。当我运行file…/ajax.gif时,我得到了gif图像数据,版本89a,220 x 19,正如预期的那样。在升级到6.3之前,一切正常 以下是完整的输出: CLI命令:mvn clean sonar:sonar 结果: [INFO] Scanning for projects... [INFO]

成功地从sonarqube 6.2升级到6.3后,一个项目的分析过程失败。错误消息是
无法读取源文件:“…/ajax.gif”,其字符集为:“UTF-8”。输入长度=1
。当我运行
file…/ajax.gif
时,我得到了
gif图像数据,版本89a,220 x 19
,正如预期的那样。在升级到6.3之前,一切正常

以下是完整的输出:

CLI命令:
mvn clean sonar:sonar

结果:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building pp-scratch 1.1.17-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- sonar-maven-plugin:3.2:sonar (default-cli) @ pp-scratch ---
[INFO] User cache: /home/thomas/.sonar/cache
[INFO] Load global settings
[INFO] Load global settings (done) | time=235ms
[INFO] User cache: /home/thomas/.sonar/cache
[INFO] Load plugins index
[INFO] Load plugins index (done) | time=9ms
[INFO] Plugin [l10nde] defines 'l10nen' as base plugin. This metadata can be removed from manifest of l10n plugins since version 5.2.
[INFO] SonarQube version: 6.3.0
[INFO] Default locale: "en_US", source code encoding: "UTF-8"
[INFO] Process project properties
[INFO] Load project repositories
[INFO] Load project repositories (done) | time=124ms
[INFO] Load quality profiles
[INFO] Load quality profiles (done) | time=85ms
[INFO] Load active rules
[INFO] Load active rules (done) | time=539ms
[INFO] Load metrics repository
[INFO] Load metrics repository (done) | time=103ms
[INFO] Publish mode
[INFO] Project key: de.tln:pp-scratch
[INFO] -------------  Scan pp-scratch
[INFO] Excluded sources for coverage: 
[INFO]   **/*DTO.java
[INFO] Load server rules
[INFO] Load server rules (done) | time=97ms
[INFO] Initializer GenericCoverageSensor
[INFO] Initializer GenericCoverageSensor (done) | time=0ms
[INFO] Base dir: /home/thomas/workspace/aexit/pp-scratch
[INFO] Working dir: /home/thomas/workspace/aexit/pp-scratch/target/sonar
[INFO] Source paths: src/main/webapp, pom.xml, src/main/java
[INFO] Test paths: src/test/java
[INFO] Source encoding: UTF-8, default locale: en_US
[INFO] Index files
[INFO] Excluded sources: 
[INFO]   **/*.min.css
[INFO]   **/*.min.js
[INFO]   src/main/webapp/resources/bootstrap/**
[INFO]   **/entity/*.java
[INFO] 210 files indexed
[INFO] 7 files ignored because of inclusion/exclusion patterns
[INFO] Quality profile for css: Sonar way
[INFO] Quality profile for java: TLN
[INFO] Quality profile for js: Sonar way
[INFO] Quality profile for web: Sonar way
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.309 s
[INFO] Finished at: 2017-03-24T08:18:22+01:00
[INFO] Final Memory: 61M/514M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project pp-scratch: Unable to read the source file : '/home/thomas/workspace/aexit/pp-scratch/src/main/webapp/resources/app/ajaxloadingbar.gif' with the charset : 'UTF-8'. Input length = 1 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1

您面临以下错误:


它将在SonarQube 6.3.1中修复。

是否对该项目设置了任何除外条款?()@G.Ann-team就是这样,谢谢。