Understanding Nexus Repository 2 Basic Directories

Visit my.sonatype.com for documentation on Nexus Repository version 2.

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


1 Installation Directory

This is the common parent directory in which all files distributed with a Nexus Repository 2 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 Repository 2.

2 Application Directory

A subdirectory of the Installation Directory, it contains the versioned runtime application binary files used to launch and run Nexus Repository 2. This includes Eclipse Jetty Server components, Nexus Repository 2 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 Repository 2 Pro 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 Repository 2 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 the first Nexus Repository 2 startup.

4 Configuration Directory

This directory stores most of your personalized Nexus Repository 2 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 Repository 2 startup.


Have more questions? Submit a request


Article is closed for comments.