Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gitzhou-sin opened this issue Sep 26, 2024 · 1 comment
Open

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

gitzhou-sin opened this issue Sep 26, 2024 · 1 comment
Labels
question Further information is requested

Comments

@gitzhou-sin
Copy link

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
@gitzhou-sin gitzhou-sin added the question Further information is requested label Sep 26, 2024
@xiaomaisuii
Copy link

把 -rf :task-ui 这个去掉应该就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants