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 download a package using Maven from Artifactory?

Spread the Knowledge

Sample Code

  • Method # 1 – Using Profile – setting.xml with “repositories” and pluginRepositories element
  • Method # 2 – setting.xml with mirrors element. Belew content is for this only. To reproduce a demo, do following

Step 1 – You must have 3 Module. eg. chat, email

Step 2 – mail module must have 1 internal and 1 external dependency. eg. chat is dependent on mail2.0 and junit. e.g Chat pom.xml


Step 3 – Make sure that you have all dependent packages in Artifactory repo already exist. e.g mail must in artifactory’s local repo and junit must be in remote repo.

Step 4 – Make sure you have one group repo containing all dependent repo

Step 5 – If you are using same machine for demo, delete following file.

Removing Dependent Package from Local repo - just for demo
$ cd /root/.m2/repository/com/devopsschool/software
$ rm -rf *
$ cd /root/.m2/repository
$ rm -rf junit

Step 6 – How to force Maven to download a all package from Artifactory rather maven central?

  • Mirror element in setting.xml
  • Make sure “mirror id” must match with “server id”.
      <name>Maven Repository Manager running on</name>

Step 7. Work with CHAT Module and experience download from Artifactory

Rajesh Kumar