Managing repository indexes

Thanks to the m2e plugin, we can navigate the remote repositories declared in our projects and open the POMs contained in them with the Maven POM editor. This happens through repository indexes. In order to enable repository indexes, we have to open the Maven Repositories view by navigating to Window | Show View | Maven, as shown in the following screenshot:

Managing repository indexes

The Maven Repositories view

Then we have to choose a repository (for example, the Maven Central) and enable the repository index, as shown in the following screenshot:

Managing repository indexes

Enable the Maven repository index

After waiting a while, we will able to browse the repository as shown in the following screenshot:

Managing repository indexes

Browsing Maven repositories

We can keep a repository index up to date if we periodically right-click on the repository and then on the Update Index menu item.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset