I am new to Maven, and I have a project that uses JFreeChart. This is using JCommon as a dependency.
Can you please tell me how to instruct Maven to dowload JCommon?
I can't find the proper repository.
Peter Johnson wrote:An easy way to locate artifacts is to use the Dependencies tab of the POM editor in the m2eclipse plugin. Just click add, type the name and it automatically searches for all artifact with that name.
Not always... Sometimes you have to look up to God (Google in my case...)
Actually, another thing you could do is install Nexus and let it index the various global repositories that it comes pre-configured with. Then a simple Nexus search should locate most JARs. As you run across additional global repositories (such as the one for JBoss), you can add it to Nexus. (I have not tried Artifactory, but I suspect it provides the same capability.)