Nexus Repository 2 officially sunsetted June 30, 2025. Visit my.sonatype.com for archived documentation. Migrate to Sonatype Nexus Repository 3 as soon as possible.
Symptom
You may notice that some artifacts using the same groupId/artifactId/version (GAV) are not showing in Nexus Repository 2 search results or the Browse Index UI next to their peer artifacts at the same Maven 2 repository path.
An example is if you search for the following artifact using a Nexus ‘GAV’ search against the Maven central index:
groupId: log4j
artifactId: log4j
version: 1.2.17
Explanation
This GAV contains two artifacts with different extensions, but the second artifact (.zip) does not use a classifier. Therefore, sometimes you will notice that the search results only list the .jar artifact, or the .zip artifact, but not all of the artifacts.
Apache Maven format best practices dictate that there should only be one main artifact associated with a pom file and that additional artifacts should be distinguished by classifier.
The Maven Indexer used by the search feature was originally designed with this in mind, and consequently if there is more than one main artifact (distinguished only by packaging) only one will show up in the index tree.