将 MMLSpark 库作为 Maven 依赖项下载时出现问题
Problem downloading MMLSpark library as a Maven dependency
我完全不熟悉 Maven。我正在尝试使用屏幕截图的命令从 Microsoft 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:
除非你maven的配置比较奇葩,否则截图的命令就可以了!我刚刚执行了它。结果是在当前工作目录中得到一个名为 mmlspark_2.11-1.0.0-rc1.jar 的 jar。
此外,请确保您输入的内容准确无误:
mvn dependency:get -DremoteRepositories="https://mmlspark.azureedge.net/maven" -Dartifact="com.microsoft.ml.spark:mmlspark_2.11:1.0.0-rc1" -Ddest=.
(复制粘贴!)
如果您继续遇到问题,请将 -X 标志(调试模式)添加到命令中,它将打印出更多关于引擎盖下发生的事情的信息...
我完全不熟悉 Maven。我正在尝试使用屏幕截图的命令从 Microsoft 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:
除非你maven的配置比较奇葩,否则截图的命令就可以了!我刚刚执行了它。结果是在当前工作目录中得到一个名为 mmlspark_2.11-1.0.0-rc1.jar 的 jar。
此外,请确保您输入的内容准确无误:
mvn dependency:get -DremoteRepositories="https://mmlspark.azureedge.net/maven" -Dartifact="com.microsoft.ml.spark:mmlspark_2.11:1.0.0-rc1" -Ddest=.
(复制粘贴!)
如果您继续遇到问题,请将 -X 标志(调试模式)添加到命令中,它将打印出更多关于引擎盖下发生的事情的信息...