How do I add a “maven dependency” in eclipse?

jamesddantony

New Member
I don't know how to use maven at all. I've been developing for a couple years with Eclipse and haven't yet needed to know about it. However, now I'm looking at some docs (http://docs.jboss.org/resteasy/docs/1.1.GA/userguide/html/json.html) that suggest I do the following: "To include it within your project, just add this maven dependency to your build."\[code\]<repository> <id>jboss</id> <url>http://repository.jboss.org/maven2</url></repository> ...<dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-jackson-provider</artifactId> <version>1.1.GA</version></dependency>\[/code\]How do I do this with my eclipse project? Please assume I know nothing about maven. I just figured out it might be installed on my computer by typing \[code\]mvn\[/code\] on the command line, but that's seriously the extent of my knowledge. I would be happy to continue knowing nothing about maven if there is an equivalent, non-maven way of following these instructions with eclipse.Thanks!
 
Top