For a number of reasons you might want to require your developers to use a staging repository. Staged software releases in Sonatype Nexus Repository (formerly known as Nexus Professional) are the best way to enable your development team to push a release to an artifact repository such as Sonatype Nexus Repository while providing management and quality assurance with a way to test and approve a release before "burning" it to production.
First step, is to download Sonatype Nexus Repository if you don't already have it installed, you can do so, by going to the product page. Once you've downloaded, log in as an administrator as you must have administrative rights to perform the following configuration:
From Nexus, click on the 'Repositories' link in left navigation.
Click on the repository you want to use, or create one.
Click on the 'Configuration' tab.
Set the 'Allow Deployment' field to false.
Click the Save button.
That is it! Users will not be able to deploy or upload artifacts directly to the repository. All artifacts must be staged and promoted to this repository.
Create a Staging repository
To create a staging repository:
Assign permissions to users
A new role is created for each staging profile that is created ( in this example the role is 'Staging Deployer: (Staging Demo Profile)'). Assign the new role to your users. You can find more details on user management.