Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot find JCommon with Maven

 
Andrei Antonescu
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
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.

Thanks in advance
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jcommon is in the Maven Central repository at: http://repo1.maven.org/maven2/jcommon/jcommon/

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.
 
Andrei Antonescu
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much, It solved the problem
 
Sai Hegde
security forum advocate
Ranch Hand
Posts: 212
1
Android Flex Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...)
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
Sai Hegde
security forum advocate
Ranch Hand
Posts: 212
1
Android Flex Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, Nexus is nice... I had to use to resolve Drools dependencies in my project.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic