如何使用带有eclipse的maven2添加apache commons日志记录? [英] how do I add apache commons logging using the maven2 with eclipse?

查看:164
本文介绍了如何使用带有eclipse的maven2添加apache commons日志记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Eclipse w/maven2插件时,我似乎找不到apache通用日志记录.

I can't seem to find apache common logging when using eclipse w/maven2 plugin.

我显然需要spring3 mvc.

I need it for spring3 mvc apparently.

推荐答案

您知道m2eclipse插件可以搜索某些索引存储库,例如 central 吗?例如,如果您在项目上右键单击并转到 Maven>添加依赖项,则可以这样使用它:

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:

这会将其添加到您的pom:

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

这篇关于如何使用带有eclipse的maven2添加apache commons日志记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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