Category Archives: SonaType Nexus

How to configure Sonatype Nexus repository with Maven?

How to configure Sonatype Nexus repository with Maven?   Automatic dependencies is one of the powerful feature of Apache maven and its one of the reason Maven is very popular in developer community. Maven resolve the dependent library from local repository which is again connected with central repository or remote repository. thus we can say… Read More »

Sonatype Nexus installation using Docker

Sonatype Nexus Repository Manager 2 Install a Docker Engine Installation Instructions can be found here – http://www.devopsschool.com/tutorial/docker/docker-install-and-configuration.html Download a Sonatype Nexus Image > docker pull sonatype/nexus For Sonatype Nexus Repository Manager 2 OSS, To run (if port 8081 is open on your host): > docker run -d -p 8081:8081 –name nexus sonatype/nexus:oss For Sonatype Nexus… Read More »

How to upload the artifacts in Sonatype Nexus | Tutorial

  1. Upload Artifacts using NEXUS GUI https://books.sonatype.com/nexus-book/reference/using-sect-uploading.html 2. Upload Artifacts using Maven pom.xml using “mvn deploy” Update your pom.xml with following… <distributionManagement>   <repository>   <id>deployment</id>   <name>Internal Releases</name>   <url>http://uvo1ppw4qmimuo3p1tg.vm.cld.sr:8081/nexus/content/repositories/releases/</url>   </repository>   <snapshotRepository> <id>deployment</id> <name>Internal Releases</name> <url>http://uvo1ppw4qmimuo3p1tg.vm.cld.sr:8081/nexus/content/repositories/snapshots/</url> </snapshotRepository> </distributionManagement> Update your setting.xml with following <servers> <server> <id>deployment</id> <username>deployment</username> <password>deployment123</password> </server> </servers> 3.… Read More »

Install SonaType SonaType Community Version

Download & Install JDK 1.8 64 bit 32 bit Install SonaType Nexus Community Version Download the Latest Package from http://www.sonatype.org/nexus/go/ TGZ – http://download.sonatype.com/nexus/3/latest-unix.tar.gz ZIP – http://download.sonatype.com/nexus/oss/nexus-latest-bundle.zip Install https://support.sonatype.com/entries/20673251-Installing-Nexus-OSS Upgrade https://support.sonatype.com/entries/23031188-How-do-I-upgrade-Nexus-OSS Starting Nexus from the command line https://support.sonatype.com/entries/20673271-Starting-Nexus-from-the-Command-Line Execute ./bin/nexus ( ./bin/nexus.bat on Windows ) without any parameters to get the supported commands for controlling Nexus.… Read More »