================ Sonatype Nexus ================ => Nexus is an open source software (OSS) & It is free of cost. => It is used as Artifactory Repository Server. => It is used to store project build artifacts Ex: jar, war files => Project artifacts will be stored in artifactory server for backup purpose. => Nexus software is developed by using java language. => The current version of nexus is 3.x version. Note: The alternate for Nexus tool is JFrog. ====================================================== Q) what is the difference between github and nexus ? ====================================================== => Git Hub is used as source code repository server. It is used to store project source code. => Nexus is used as artifactory repository server. It is used to store project build artifacts (jar and war). ==================== Nexus Server Setup ==================== https://github.com/ashokitschool/DevOps-Documents/blob/main/07-Nexus-Setup-Docker.md Note: Nexus server will run on port number 8081. Enable it in EC2 vm security group inbound rules. ======================= Nexus Repository Types ======================= => In nexus we can create 2 types of repositories 1) snapshot repository 2) release repository => If project is under development then that project artifacts will be uploaded into snapshot repository. => if project is completed then that project artifacts will be uploaded into release repository. Snapshot Repo URL : http://3.109.152.141:8081/repository/ashokit-snapshot-repo/ Release Repo URL : http://3.109.152.141:8081/repository/ashokit-release-repo/ =========================== Nexus Integration in CI CD =========================== => We can integrate "nexus repository artifact upload" process as part of Jenkins CI CD Pipeline. Note: Once maven build process got completed then we can upload artifact into nexus repository.