"Failed to execute goal on project avro-scanner" Displayed During BE Compilation
Symptom
When the STRIP_DEBUG_INFO=ON sh build.sh --clean --be command is executed, the error message "Failed to execute goal on project avro-scanner" is displayed.

Key Process and Cause Analysis
The aws-java-sdk-bundle-1.12.669 JAR and POM packages fail to be downloaded from the Maven repository.
Conclusion and Solution
- Check the configured Maven repository address.
1vi /opt/tools/installed/apache-maven-3.6.3/conf/settings.xml
- Download aws-java-sdk-bundle-1.12.669.jar, aws-java-sdk-bundle-1.12.669.jar.sha1, aws-java-sdk-bundle-1.12.669.pom, and aws-java-sdk-bundle-1.12.669.pom.sha1. Upload them to the com/amazonaws/aws-java-sdk-bundle/1.12.669/ path of the local Maven repository (for example /root/.m2) on the server.
- Run the command again:
1 2
cd /opt/tools/installed/doris-2.1.2-rc04 STRIP_DEBUG_INFO=ON sh build.sh --clean --be
Parent topic: Troubleshooting