gpt4 book ai didi

java - maven2 : how do I get/set the location for the local . jar 缓存?

转载 作者:行者123 更新时间:2023-11-30 06:38:21 25 4
gpt4 key购买 nike

我正在尝试获取 hibernate-sqlite项目工作。我下载了可以运行

mvn eclipse:clean

mvn eclipse:eclipse

就像说明书上说的那样。我可以将项目导入到 Eclipse 中。但是当我在Eclipse中查看项目时,它找不到Maven已经下载的jar。 Maven 将 .jars 放在哪里?我不知道这是什么地方,如果我知道我可以在 eclipse 中设置 M2_HOME 就可以了。

最佳答案

Linux: /home/<user>/.m2
Windows: C:\Documents and Settings\<user>\.m2

此外,您可能想研究使用 m2eclipse插件,如果您正在使用 Eclipse 进行 Maven 开发。

关于java - maven2 : how do I get/set the location for the local . jar 缓存?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2321833/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com