How to add a Maven repository in Eclipse

On January 11, 2011, in Eclipse, Maven, by lucasterdev

1. Choose the menu item, Window–>Show View–>Other
2. Select “Maven Indexes” and click OK
3. The Maven Indexes tab now appears at the bottom of the Eclipse workbench.
4. Right click the Maven Indexes view tab and select Add Index. The “Add Repository Index” dialog appears.
5. Fill in the Repository URL and Repository Id fields. Click OK.
6. The new repository now appears in the Maven Indexes list, but you need to wait for a lot of time before the index contents are fully populated (check the status bar in the bottom right corner). Eclipse may seem to freeze as well. If any errors occur while updating the new index, these will appear in the Console tab.

 

Leave a Reply