nexus installation
sources:
http://www.vineetmanohar.com/2010/06/getting-started-with-nexus-maven-repo-manager/
https://www.youtube.com/watch?v=bLskAeXivPg
- we need to download postgresql
- go to: http://www.sonatype.org/nexus/
- go to the Downloads menu-item
- click on the Nexus Repository Manager OSS link
- next click on the button for the zip-file
- now we have the next tree-structure C:\tools\nexus-2.12.1-01-bundle
- within this folder we have 2 folder:nexus-2.12.1-01 and sonatype-work
create windows service for nexus
- search for services in the menu and open the Service Manager or Right-click on Computer icon on desktop and select Manage, it'll open a new window. Now go to Services & Applications -> Services. You can also open the same from Administrative Tools -> Computer Management.
- open Command Prompt as administrator
- nagivate to C:\tools\nexus-2.12.1-01-bundle\nexus-2.12.1-01\bin\jsw\windows-x86-64
- and run the install-nexus.bat file
- open the Service Manager and refresh the list
- click on start the service
- great nexus is up and running
- open a browser and enter the url http://localhost:8081/nexus
- click on the Log In link and login with
- username: admin
- password: admin123
- after we logged in we are navigating to Repositories > Central > Configuration > Remote Repository Access section and set Download Remote Indexes to True. We need to do this to browse the maven index
- first we need to disable the anonymous user
- in the left menu navigate to Security > Users, select the anonymous user and set the Status from Active to Disabled
- next we are configuring the deployment user to upload our artifacts in nexus
- select the deployment user and change
- First Name:
- Last Name:
- Email:
- right-click on the changed user and set password
- New Password: admin
- Confirm Password: admin
- save the changes by clicking on the button Set Password