Maven正在向依赖树或我的POM中的本地存储库安装依赖项

时间:2017-10-04 21:22:06

标签: java maven

我有一个依赖安装,我试图摆脱,但我不知道是什么原因导致它被安装。如果我执行actual = Post.archives().map do |post| { year: post["year"].to_s, month: post["month"], published: post["total"] } end expected = [{ year: first.published_at.strftime("%Y").to_s, month: first.published_at.strftime("%B"), published: 1 }, { year: second.published_at.strftime("%Y").to_s, month: second.published_at.strftime("%B"), published: 1 }] expect(actual).to match_array(expected) ,它将显示在本地存储库中。在我的构建服务器日志中,有一个"正在下载https://repo.maven.apache.org/maven2/xxxxxxx"进入它。

但我的find文件中不包含依赖关系,而且当我pom.xmlmvn dependency:tree -Dverbose时,它不会显示。如何进一步调试它的来源?感谢。

0 个答案:

没有答案