Rate This Document
Findability
Accuracy
Completeness
Readability

"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

  1. Check the configured Maven repository address.
    1
    vi /opt/tools/installed/apache-maven-3.6.3/conf/settings.xml
    

  2. 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.
  3. Run the command again:
    1
    2
    cd /opt/tools/installed/doris-2.1.2-rc04
    STRIP_DEBUG_INFO=ON sh build.sh --clean --be