I need to add a jar file to compile my project using maven command, but this jar file is not from another maven depository,it’s just a jar file. I don’t know how to and this.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can go thru this..
Maven: How to include jars, which are not available in reps into a J2EE project?
Make sure you have -Dpackaging=jar
More info..
http://www.mkyong.com/maven/how-to-include-library-manully-into-maven-local-repository/