为什么pom.xml找不到Maven存储库? [英] Why would pom.xml fail to find Maven repository?

查看:103
本文介绍了为什么pom.xml找不到Maven存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用来自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屋!

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