mvn compile Error-Could not find artifact com.azure:azure-communication-common:jar:1.1.0-beta.1 in maven-cognitiveservices-speech
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- azure, java
- 领域
- build-system
调研方向
从 OutboundCallReminder/pom.xml 开始,运行 mvn compile 以复现 azure-communication-common:1.1.0-beta.1 的依赖解析失败。确定为什么无法解析所声明的构件,并在项目成功编译且没有报告的错误时验证完成情况。
由索引模型根据 Issue 内容生成。
描述
Please provide us with the following information:
This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
git clone
cd ${ workplace}/communication-services-java-quickstarts/OutboundCallReminder/pom.xml dirdirectory
mv compile
then
compile error
ERROR] Failed to execute goal on project outboundcallreminder: Could not resolve dependencies for project com.communication.outboundcallreminder:outboundcallreminder🫙1.0-SNAPSHOT: Could not find artifact com.azure:azure-communication-common🫙1.1.0-beta.1 in maven-cognitiveservices-speech
Any log messages given by the failure
Downloading from ossrh: https://oss.sonatype.org/content/repositories/snapshots/com/azure/azure-communication-common/1.1.0-beta.1/azure-communication-common-1.1.0-beta.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:46 min
[INFO] Finished at: 2022-06-07T11:27:01+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project outboundcallreminder: Could not resolve dependencies for project com.communication.outboundcallreminder:outboundcallreminder🫙1.0-SNAPSHOT: Could not find artifact com.azure:azure-communication-common🫙1.1.0-beta.1 in maven-cognitiveservices-speech (https://csspeechstorage.blob.core.windows.net/maven/) -> [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
Expected/desired behavior
How can l fix it?
please help me, thx!
OS and Version?
macOS (Monterey)
Versions
12.0.1
Mention any other details that might be useful
Jdk, Maven installer
475 brew install --cask microsoft-openjdk
483 java -version
~$ mvn -version
Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Maven home: /usr/local/Cellar/maven/3.8.3/libexec
Java version: 17.0.1, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk/17.0.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_CN, platform encoding: UTF-8
OS name: "mac os x", version: "12.0.1", arch: "x86_64", family: "mac"
485 cd "$(brew --repo)"
486 git remote set-url origin https://github.com/Homebrew/brew.git
487 cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
488 git remote set-url origin https://github.com/Homebrew/homebrew-core.git
489 brew install maven
~$ mvn -version
Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Maven home: /usr/local/Cellar/maven/3.8.3/libexec
Java version: 17.0.1, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk/17.0.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_CN, platform encoding: UTF-8
OS name: "mac os x", version: "12.0.1", arch: "x86_64", family: "mac"
Thanks! We'll be in touch soon.
- 主要语言
- Java
- 星标
- 14
- 派生
- 41
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure-Samples/communication-services-java-quickstarts 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
Azure-Samples/communication-services-java-quickstarts#92 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 20/100
查看 Azure-Samples/communication-services-java-quickstarts 的全部 Issue
相似的 Issue
-
enhancement Improvement
难度 2/5 1-3 小时 新手友好度 76/100
zowe/zowe-client-java-sdk#647 ·
-
NullPointerException when a `DeserializationProblemHandler` returns `null` for `byte[]` (single value unwrapped) and `char[]` elements可能已有人在做 @Marti2203 今天认领。 未关闭
难度 2/5 半天 新手友好度 88/100
FasterXML/jackson-databind#6300 ·
维护者通常 1 天内回复
-
content good first issue
难度 1/5 1 小时以内 新手友好度 95/100
cpinitiative/usaco-guide#6699 ·
维护者通常 1 天内回复
-
BC remittance upload: a claim MSP refused (S03) is saved with a blank status instead of refused (F)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭type: bug
难度 2/5 1-3 小时 新手友好度 88/100
carlos-emr/carlos#4933 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
apache/rocketmq-dashboard#6925 ·
维护者通常 3 天内回复