Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do I do with the pom.xml file?

I have just downloaded a project from github, it has a pom.xml and is missing many dependencies.

I installed m2e Maven integration in Eclipse plugin but now what do I do? It's installed and seems to be working but how do I download the dependencies now?

like image 243
code511788465541441 Avatar asked Dec 25 '22 23:12

code511788465541441


1 Answers

  • You checkout the git files to a location different from your Eclipse workspace.
  • Start Eclipse on a clean workspace and install m2e. (I usually install m2e-wtp to get web projects)
  • Use File -> Import -> Existing Maven projects.
  • Point to the pom.xml you want to use in the files checked out above.
  • Wait while Eclipse downloads half the Internet.
  • Ready.
like image 71
Thorbjørn Ravn Andersen Avatar answered Jan 12 '23 03:01

Thorbjørn Ravn Andersen