我如何向Maven索取默认存储库列表? [英] How can I ask Maven for a list of the default repositories?

查看:170
本文介绍了我如何向Maven索取默认存储库列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以用什么命令向Maven询问它搜索其依赖项的默认存储库列表?如果不存在这样的命令,我还可以在哪里找到这个默认列表?

What command can I use to ask Maven for a list of the default repositories that it searches for its dependencies? If no such command exists, where else may I look to find this default list?

推荐答案

在命令行上执行

mvn help:evaluate

然后,在提示时输入

${project.repositories}

参见 http://maven.apache.org/plugins/maven-help-plugin/evaluate-mojo.html

这篇关于我如何向Maven索取默认存储库列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆