Visit my.sonatype.com for documentation on Nexus Repository version 2.
Repository Groups don't store artifacts they simply aggregate artifacts from other repositories. If you are updated to a recent version of Sonatype Nexus Repository uploading to a group isn't possible.
Instead, upload to a hosted repository.
Some old versions of Nexus Repository in the 1.x release time period had a bug that allowed users to upload artifacts to repository groups. This bug has been fixed for years, but if you are running an old version of Nexus Repository you might want to know how to fix this situation. The following process is suggested if you encounter a Nexus Repository instance that has an artifact published to a group.
- Copy these artifacts to the appropriate directory under sonaype-work/. Make sure that you copy them using the repository file structure of <groupId>/<artifactId>/<version>. If you have a Nexus instance with artifacts deployed to a group you will want to copy the contents of "sonatype-work/nexus/storage/<group-id>" to "sonatype-work/nexus/storage/<repo-id>".
- Delete the group's local storage by just deleting the "sonatype-work/nexus/storage/<group-id>"
- Repair all repository indexes using a manually scheduled task.
Step 2 should be performed when the repository isn't running to minimize any potential issues. Once you've completed this process you may also want to restart Nexus Repository.
In general, you should understand that Nexus Repository 2 is patched for security vulnerabilities and new features. If you are running an instance old enough to suffer from this bug, we strongly suggest that you upgrade your Nexus Repository instance.