Forge: Eclipse Maven Git Integration
Import Maven Project
After following the steps up to and including Forge:How to Get Started Developing Forge#Create and Register Your Public-Private Key Pair,
- In Eclipse, open the File menu and choose Import.... The Import window appears.
- Open the Maven category by clicking the plus sign or triangle next to it.
- Click Checkout Maven Projects from SCM.
- Click Next >.
- In the Target Location dialog, select git for the SCM. Put in "git@gitorious.org:cardforge/carforge.git" into the location. Click on Finish this will checkout Forge from Git and setup up a Maven project in Eclipse. Note that Git functionality will not work yet.
- If you are not able to select a SCM, then you need to install the connectors from the m2e Marketplace. Click on the Find more connectors from the m2e Marketplace link in the dialog.
- You will see a dialog to install Maven connector components. Please select all of the components and install them. You will need to restart Eclipse and redo the previous steps.
- Right-click on the Forge project and select the Team menu item. Select Share Project....
- The Share Project dialog will appear. Select Git.
- The Configure Git dialog will appear.
- Select the Use or Create Repository in parent folder of project. The dialog should now show the current local git repository. Click Finish.
- The configuration is now complete. You will see a list of Git commands from the Team... menu item.
- You will also see a list of Maven goals to run from the Run As... menu item.
- The list of build dependencies will reflect the Maven setup.












