8

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

I need it for spring3 mvc apparently.

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
Blankman
  • 259,732
  • 324
  • 769
  • 1,199

1 Answers1

17

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:

alt text

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

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
  • Yes I did know that, I just wasn't sure if that was from apache or not? Thanks for the repo search tip! I guess i'll add that 59K one you have highlighted. – Blankman Feb 11 '10 at 02:40
  • 1
    The apache libraries often leave out apache in their name. To their detriment i think. – Chris Nava Feb 11 '10 at 04:49