Azure-Samples / Azure-Samples/communication-services-java-quickstarts
mvn compile Error-Could not find artifact com.azure:azure-communication-common:jar:1.1.0-beta.1 in maven-cognitiveservices-speech
- 主要语言
- Java
- 星标
- 14
- 派生
- 41
- PR 合并指标
- 30 天内没有已合并 PR
描述
> 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:jar:1.0-SNAPSHOT: Could not find artifact com.azure:azure-communication-common:jar: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:jar:1.0-SNAPSHOT: Could not find artifact com.azure:azure-communication-common:jar: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.
贡献指南
调研方向
从 OutboundCallReminder/pom.xml 开始,运行 mvn compile 以复现 azure-communication-common:1.1.0-beta.1 的依赖解析失败。确定为什么无法解析所声明的构件,并在项目成功编译且没有报告的错误时验证完成情况。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- azure, java
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100