how do I add apache commons logging using the maven2 with eclipse?

倾然丶 夕夏残阳落幕 提交于 2019-11-30 20:16:49
Pascal Thivent

Do you know that the m2eclipse plugin can search some indexed repositories, like central? For example, if you right-click on your project and go to Maven > Add Dependency, you can use it like this:

And this will add this to your pom:

<dependency>
  <groupId>commons-logging</groupId>
  <artifactId>commons-logging</artifactId>
  <version>1.1.1</version>
</dependency>

Another option is to use one of the numerous repository search engine, for example:

http://search.maven.org/#artifactdetails|commons-logging|commons-logging|1.1.1|jar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!