Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trouble importing *.jar to a Maven Project

I need to know if having a Maven project, I can import external (*.jar)'s without generating a Maven dependency (POM), just importing them in the project build path.

I'm finding troubles trying to run the project when it asks me for other dependencies that I'm no able to find in the web, and I have checked that those dependencies are not necessary because I checked my code and the (*.jar)'s in a project which doesn't use Maven and it works (without the necessity of importing that libs).

like image 864
Carol Avatar asked Jan 30 '26 20:01

Carol


1 Answers

You can import a jar to your local repository and reference it in the POM as usual. However, every developer needs to do the import on his/her machine (once).

see: http://jeff.langcode.com/archives/27

like image 71
Andy Avatar answered Feb 01 '26 13:02

Andy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!