为什么pom.xml找不到Maven存储库? [英] Why would pom.xml fail to find Maven repository?
问题描述
我需要使用来自Maven Central的
任何人都可以让我知道如何配置我的应用程序,以便它可以从Maven Central存储库中找到此 vertica jdbc驱动程序
吗?
在Maven中央,仅此工件和版本的 pom
或 jar
都没有源
.
这就是为什么它找不到它的原因.
您可以在此处 https://www.vertica.com/client-drivers/
I need to use this repository from maven central for my application. But my application is failing to locate it. I use IntelliJ Idea and the Sync window gives me error -
Could not find artifact com.vertica:vertica-jdbc:pom:9.1.1 in central (https://repo.maven.apache.org/maven2)
This is how my pom.xml looks like -
Can anyone please let me know how can i configure my application so it can locate this vertica jdbc driver
from maven central repo?
There is simply no pom
nor jar
for this artifact and version, in the maven central, only the sources
.
This is why it can't find it.
You can download it here https://www.vertica.com/client-drivers/
这篇关于为什么pom.xml找不到Maven存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!