Skip to content

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

@SugarCreate

Description

@SugarCreate

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions