You need to create a new Eclipse (Juno) Java project from a remote Git repository (like GitHub) managed by Maven (i.e. you already have a
pom.xml for your project.)
- Make sure you installed a Git plugin like EGit.
- Click on File --> Import --> Git --> Projects from Git
- Then follow the instructions...
- Specify a URI for the repository source. This will end with a file.git.
- Select a branch.
- Local destination (<Git's_local_repository>/<project_name>)
- Select Import existing project.
- Select create Java project.
- Select Use custom location. This should be the local Git repository location.
- Mavenize it: right-click on the project's name --> Configure --> Convert to Maven project.
No comments:
Post a Comment