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

mvn compile Error-Could not find artifact com.azure:azure-communication-common:jar:1.1.0-beta.1 in maven-cognitiveservices-speech #29

Open
SugarCreate opened this issue Jun 7, 2022 · 0 comments

Comments

@SugarCreate
Copy link

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.

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

No branches or pull requests

1 participant