First download Eclipse on the official website, then install and select Eclipse for Java developer.
Install the Git plugin: eclipse-help-install new software-add name, Write Anywhere, location http://download.eclipse.org/egit/updates
Then file-import-git-projects the from Git-clone URL URL to fill in the project url,host write server IP
Fill in the user name and password, all the way next, encountered an error:
Probably content is Javahl related error, Baidu a bit, is subclipse and Javahl does not match, so installed brew, according to:Http://subclipse.tigris.org/wiki/JavaHL To install a matching Javahl, successfully imported.
The next problem arises: When Maven import relies on a few snapshots that have been downloaded, to the Maven view, the snapshots are there, and after several turnover, the snapshot libraries are listed separately:
Used all the time is used in a warehouse, involving two warehouse configuration, to check, and found that the MAVEN configuration file may not be activated snapshot library, resulting in Maven only the first warehouse dependencies downloaded, and then found that The final problem is that no settings.xml is specified, a copy comes over, the designation is updated, and the dependency is successfully resolved.
Other small problems encountered, the basic is Google a bit solved, no longer repeat
Build eclipse+git environment and import projects under Mac