Repository Management with Nexus - 2.12

Share

5.2. Browsing Repositories

Available in Nexus Repository Manager OSS and Nexus Repository Manager

One of the most straightforward uses of the repository manager is to browse the structure of a repository. If you click on the Repositories menu item in the Views/Repositories menu, you should see the following display. The top half of Figure 5.4, “Browsing a Repository Storage” shows you a list of groups and repositories along with the type of the repository and the repository status. To browse the components that are stored in a local repository manager, click on the Browse Storage tab for a repository as shown in Figure 5.4, “Browsing a Repository Storage”.

figs/web/repository-manager_browse-repositories.png

Figure 5.4. Browsing a Repository Storage


When you are browsing a repository, you can right-click on any file and download it directly to your browser. This allows you to retrieve specific components manually or examine a POM file in the browser. In addition, components as well as directories can be deleted using right-click.

[Note]

When browsing a remote repository you might notice that the tree doesn’t contain all of the components in a repository. When you browse a proxy repository, the repository manager is displaying the components that have been cached locally from the remote repository. If you don’t see an component you expected to see in the repository manager, it only means that it has yet to cache the component locally. If you have enabled remote repository index downloads, it will return search results that may include components not yet downloaded from the remote repository. Figure 5.4, “Browsing a Repository Storage”, is just an example, and you may or may not have the example component available in your repository manager.

A proxy repository acts as a local cache for a remote repository, in addition to downloading and caching components locally, the repository manager will also download an index of all the components stored in a particular repository. When searching or browsing for components, it is often more useful to search and browse the repository index. To view the repository index, click on the Browse Index tab for a particular repository to load the interface shown in Figure 5.5, “Browsing a Repository Index”.

figs/web/repository-manager_browse-repository-index.png

Figure 5.5. Browsing a Repository Index