Skip to content

[Question]: build compass on windows error (v1.1.2) #236

@gitzhou-sin

Description

@gitzhou-sin

Contact Details

[email protected]

What would you like to ask or discuss?

When I run the command mvn clean package -DskipTests -Pdist -rf :task-ui according to the content of https://github.com/cubefs/compass/blob/main/document/manual/deployment.md
I encountered the following error

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for task-ui v1.1.2:
[INFO]
[INFO] task-ui ............................................ SUCCESS [02:10 min]
[INFO] task-portal ........................................ FAILURE [  4.466 s]
[INFO] task-metadata ...................................... SKIPPED
[INFO] task-detect ........................................ SKIPPED
[INFO] task-syncer ........................................ SKIPPED
[INFO] task-application ................................... SKIPPED
[INFO] task-canal ......................................... SKIPPED
[INFO] task-canal-adapter ................................. SKIPPED
[INFO] task-flink ......................................... SKIPPED
[INFO] task-gpt ........................................... SKIPPED
[INFO] task-assembly ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:15 min
[INFO] Finished at: 2024-09-26T11:11:43+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project task-portal: Could not resolve dependencies for project com.oppo.cloud:task-portal:jar:v1.1.2: Failed to collect dependencies at com.oppo.cloud:task-ui:jar:v1.1.2: Failed to read artifact descriptor for com.oppo.cloud:task-ui:jar:v1.1.2: Could not find artifact com.oppo.cloud:compass:pom:v1.1.2 in aliyunmaven (https://maven.aliyun.com/repository/public) -> [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] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :task-portal

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions