Archive for the ‘SonaType Nexus’ Category:

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…)

© Tutorials
CyberChimps