【发布时间】:2021-09-09 02:53:33
【问题描述】:
我对使用 Maven 完全陌生。我正在尝试使用屏幕截图的命令从微软的 MMLSPARK 库中下载一个 jar 文件:
我收到此错误...不知道是什么问题。
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on project standalone-pom: Couldn't download artifact: Missing:
[ERROR] ----------
[ERROR] 1) com.microsoft.ml.spark:mmlspark_2.11:jar:1.0.0-rc1
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.microsoft.ml.spark -DartifactId=mmlspark_2.11 -Dversion=1.0.0-rc1 -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.microsoft.ml.spark -DartifactId=mmlspark_2.11 -Dversion=1.0.0-rc1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.apache.maven.plugins:maven-downloader-plugin:jar:1.0
[ERROR] 2) com.microsoft.ml.spark:mmlspark_2.11:jar:1.0.0-rc1
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.apache.maven.plugins:maven-downloader-plugin:jar:1.0
[ERROR]
[ERROR] from the specified remote repositories:
【问题讨论】:
-
请勿发布代码、数据、错误消息等的图片 - 将文本复制或输入到问题中。 How to Ask