What are the trash directories that Nexus Repository 2 uses?

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

To protect against accidental deletion of repositories and artifacts, some Nexus Repository 2 operations move files and directories to internal trash directories.

The "sonatype-work/nexus/trash" directory contains deleted repositories. It does not contain artifacts deleted from repositories. Those can be found in "sonatype-work/nexus/storage/<repo-id>/.nexus/trash".

Have more questions? Submit a request


Article is closed for comments.