Understanding Nexus Repository Manager 2 Basic Directories

Refer to the book for detailed descriptions of the Nexus runtime directory and file structures.


There are important directories to be aware of when managing a Nexus bundle distribution installation.

nexus_install_dirs.png

1 Installation Directory

This is the common parent directory in which all files distributed with a Nexus bundle will be installed under. This directory is created by you manually. Its purpose is to eventually contain the Application Directory and Work Directory and all files related to Sonatype Nexus.

2 Application Directory

A subdirectory of the Installation Directory, it contains the versioned runtime application binary files used to launch and run Nexus. This includes Eclipse Jetty Server components, Nexus core libraries and control scripts. The name of this directory follows a pattern of nexus-professional-<version> or nexus-<version>, depending on the distribution used. In the screenshot, we can see two different versions of Nexus Professional have been unpacked creating two application directories.

The Application Directory is created when a bundle distribution is extracted.

3 Work Directory

This is the main directory that stores your runtime specific Nexus configuration and artifact related files. The default location is under the Installation Directory as sonatype-work/nexus.

If missing, the Work Directory is created when a bundle distribution is extracted. Any required runtime contents are created automatically on first Nexus startup.

4 Configuration Directory

This directory stores most of your personalized Nexus configuration files and is located under the Work Directory as ./conf .

This directory is not created when a bundle is extracted. If missing, this directory and its required contents are created automatically on first Nexus startup.

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk