Am 24.01.2012 09:32 schrieb "krrish516" <murthy516.s...@gmail.com>: > > Hi, > > I've a pom.xml of a project.I've a jar file of a java class in my local file > system.How to add that my jar file dependency to my maven project.What are > the steps to be followed.Please sis.uggest me in achieving th
Use goal install-file of maven-install-plugin to install your Jar into your local maven repository. Then simply use Maven's dependency mechanism to reference the installed jar from your pom. > > -- > View this message in context: http://maven.40175.n5.nabble.com/Unable-add-java-class-dependency-to-my-pom-xml-tp5280979p5280979.html > Sent from the Maven Developers mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org >