Maven-如何找到正确的groupId/artifactId以在POM中包含依赖项 [英] Maven - How to find correct groupId/artifactId to include dependency in POM

查看:78
本文介绍了Maven-如何找到正确的groupId/artifactId以在POM中包含依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常,为Maven POM中使用的知名依赖项找到groupId和artifactId的最佳策略是什么?例如,如何找到MySQL JDBC驱动程序的正确条目?在mysql.com站点上没有提到它,因此我通常会花一些时间来寻找另一个已经使用了jar的Maven存储库版本的POM.这不是最好的方法.

In general, what is the best strategy for finding the groupId and artifactId for a well-known dependency for use in a Maven POM? For example, how would I find the correct entry for the MySQL JDBC driver? It's not mentioned on the mysql.com site, so I would usually spend time looking for another POM that already uses the Maven repository version of the jar. This can't be the best way.

推荐答案

我建议使用 http://search.maven .org

这篇关于Maven-如何找到正确的groupId/artifactId以在POM中包含依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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