Understanding Nexus Repository Manager 3 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 Repository Manager installation.

In the screenshot, we can see examples of how it might look when different versions of the repository manager are unpacked over time.

1 Installation Directory

This is the common parent directory in which all files related to the Sonatype Nexus Repository Manager will reside. This directory is created by you manually at a location of your choice. Its purpose is to eventually contain the Application Directory and Data Directory and be the common operating system location for all files related to Nexus Repository Manager.

2, 3, 4 Application Directory

A subdirectory of the Installation Directory, it contains the per version 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 depending on the distribution used:

Nexus 2.x OSS Editionnexus-<version>
Nexus 2.x Professional Edition: nexus-professional-<version>
Nexus 3.x OSS or Pro Edition: nexus-<version>

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

5 Work Directory (Nexus 2) or 6 Data Directory (Nexus 3)

This is the main directory that stores your runtime specific Nexus configuration and component/artifact related files. The default location depends on what installer archive was extracted.

Nexus 2.x: under the Installation Directory as sonatype-work/nexus
Nexus 3.x: under the Installation Directory as sonatype-work/nexus3

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

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk