...
If you are having problems getting Eclipse + Maven + EGit to work together, here is a post with various workarounds: http://stackoverflow.com/questions/4869815/importing-a-maven-project-into-eclipse-from-git.
How to get
...
the Synapse-Repository-Services (or any) project from Github into Eclipse
- Create a GitHub user account
- Internal Sage developers will be added as a developer on the project and will be able to push directly
- External contributors should fork the repository and submit GitHub Pull Requests for code inclusion
- Clone the repository: git clone https://github.com/Sage-Bionetworks/
...
Now, in Eclipse: File > Import > Maven > Existing Maven Projects
...
...
- This clones the 'Synapse-Repository-Services' project to your local machine. Repeat for other projects, e.g. SynapseWebClient.
Go to github.com and create an account, noting your user name.
Assuming you have the Git plug-in working in Eclipse:File > Import > Git > Projects From GitNext> URI > Next>URI: https://<your-user-name>@github.com/Sage-Bionetworks/Synapse-Repository-Services.gitNext> Next>on the "Select a wizard…" page pick "Import as a general project"
...
- Import the project as a maven project
- File -> Import -> Maven -> Existing Maven Projects
- Next, in Root Directory enter the local path to your repository clone
- Next, Finish
- Enable Git Team tracking
- Now right click on portal (project name) -> Team -> Share Project
- Next, Select repository type Git
- Next, Check the box "Use or create repository in parent folder of project
- Next, Finish
Installing Git on Windows w/Cygwin
...