开发者

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

I can't seem to find apache common logging when using eclipse w/maven2 plugi开发者_如何转开发n.

I need it for spring3 mvc apparently.


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:

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

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜