eclipse import maven project on git

 After adding the git plugin maven plugin to eclipse, open the git view:

 

Select "clone a git repository and add the clone to this view" pointed by the red arrow, enter the git URI address, and import the git project.

Finally, select the repository name under the project, right-click "Import projects" to the local project.

 git compile the project:

  1. Right click on the project Run as->Maven build->new

  2. Under the Main tab in the right window, click browse workspace to import the local directory (Base Directory), enter install in the Goals input box

 3. Finally, click apply->run below to start compiling the project.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326398619&siteId=291194637