I’m trying to run a scan maven multimodule java project and I got this error :
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.0.2155:sonar (default-cli) on project A-Parent: Malformed input or input contains unmappable characters: A-IntegrationTests/src/test/resources/non-iso-8859-1-e????.pdf -> [Help 1]
the sonar command is :
mvn sonar:sonar -s settings.xml -B
the logs :
08:37:33 + mvn sonar:sonar -s settings.xml -B
08:37:34 WARNING: An illegal reflective access operation has occurred
08:37:34 WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
08:37:34 WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
08:37:34 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
08:37:34 WARNING: All illegal access operations will be denied in a future release
08:37:34 [INFO] Scanning for projects...
08:37:35 [INFO] ------------------------------------------------------------------------
08:37:35 [INFO] Reactor Build Order:
08:37:35 [INFO]
08:37:35 [INFO] A Parent [pom]
08:37:35 [INFO] A Model [jar]
08:37:35 [INFO] A Common [jar]
08:37:35 [INFO] A Resource Server Common [jar]
08:37:35 [INFO] A Resource Server Security [jar]
08:37:35 [INFO] A Admin [jar]
08:37:35 [INFO] A Access [jar]
08:37:35 [INFO] A Client [jar]
08:37:35 [INFO] A Integration Tests [jar]
08:37:35 [INFO] A Integration Tests Runner [pom]
08:37:35 [INFO] A Solution [war]
[INFO] User cache: /home/jenkins/.sonar/cache
[INFO] SonarQube version: 8.9.0
[INFO] Module MavenProject: ch.unige.aou:A-IntegrationTests:1.0.2-SNAPSHOT @ /home/jenkins/build/workspace/e-research/projects/A-Backend-1.0-maintenance-Build/A-IntegrationTests/pom.xml skipped by property 'sonar.skip'
[INFO] Module MavenProject: ch.unige.aou:A-IntegrationTestsRunner:1.0.2-SNAPSHOT @ /home/jenkins/build/workspace/e-research/projects/A-Backend-1.0-maintenance-Build/A-IntegrationTestsRunner/pom.xml skipped by property 'sonar.skip'
[INFO] Default locale: "en_US", source code encoding: "UTF-8"
[INFO] Load global settings
[INFO] Load global settings (done) | time=185ms
[INFO] Server id: FB4B1083-AW3I-QguIY_c0y6wnDUa
[INFO] User cache: /home/jenkins/.sonar/cache
[INFO] Load/download plugins
[INFO] Load plugins index
[INFO] Load plugins index (done) | time=44ms
[INFO] Load/download plugins (done) | time=2352ms
[INFO] Process project properties
[INFO] Process project properties (done) | time=17ms
[INFO] Execute project builders
[INFO] Execute project builders (done) | time=2ms
[INFO] Project key: AoU-Parent
[INFO] Base dir: /home/jenkins/build/workspace/e-research/projects/A-Backend-1.0-maintenance-Build
[INFO] Working dir: /home/jenkins/build/workspace/e-research/projects/A-Backend-1.0-maintenance-Build/target/sonar
[INFO] Load project settings for component key: 'A-Parent'
[INFO] Load project settings for component key: 'A-Parent' (done) | time=21ms
[INFO] Auto-configuring with CI 'Jenkins'
[INFO] Load quality profiles
[INFO] Load quality profiles (done) | time=55ms
[INFO] Auto-configuring with CI 'Jenkins'
[INFO] Load active rules
[INFO] Load active rules (done) | time=694ms
[INFO] Indexing files...
[INFO] Project configuration:
[INFO] Excluded sources: A-IntegrationTests/src/test/resources/**