Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

How to upload the artifacts in Sonatype Nexus using Maven

artifacts-in-sonatype-nexus
Spread the Knowledge

Step 1 – Install and Configure Nexus Server

Step 2 – [Nexus Server] Create a nexus role containing all required access of Nexus.

Step 3 – [Nexus Server] Create a user which must be used for package deployment by maven to Nexus. user must be added to Role.

Step 4 – [Nexus Server] Login to Nexus using New created user

Step 5 – [Nexus Server] Create a 1 repository of Maven 2 type But Policy must be Hosted Release

Step 6 – [Nexus Server] Create a 1 repository of Maven 2 type But Policy must be Hosted Snapshot

Step 7 – [Nexus Server] Create a 1 repository of Maven 2 type But Policy must be Proxy of Maven Central

Step 8 – [Nexus Server] Create a 1 repository of Maven 2 type But Policy must be Group containing all 3 repo created above

Step 9 – [Workstation] Download – Install – Configure Java and Maven

Step 10 – [Workstation] Create a Maven Sample Project

$ mvn archetype:generate -DgroupId=com.companyname.devopsschool -DartifactId=chat -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

Step 11 – Modify a pom.xml with a repository where you want to upload a artifact using Maven

Step 12 – Modify a setting.xml with a repository permission with a new user created

Step 13 – Important – repository id in pom.xml(distributionManagement element) and access id in setting.xml (server element) must match.+

Step 14 – Run maven deploy to upload artifact

# To Upload Snapshot version of Artifact, Make sure pom.xml version element must be with SNAPSHOT
$ mvn deploy

# To Upload Releasde version of Artifact, Make sure pom.xml version element must be without SNAPSHOT
$ mvn deploy
Rajesh Kumar