Nexus Training Notes Dec 12 2023

DevOps

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

Day2

How to Upload java package using Maven?

https://www.devopsschool.com/blog/how-to-upload-the-artifacts-in-sonatype-nexus/


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


Step 2 - Repo location in pom.xml
http://18.235.233.115:8081/repository/devopsschool-hosted/

<distributionManagement>
	<repository>
		<id>devopsschool-release</id>
		<name>Internal Releases</name>
		<url>http://18.235.233.115:8081/repository/devopsschool-hosted/</url>
	</repository>
 
	<snapshotRepository>
		<id>devopsschool-snapshot</id>
		<name>Internal Releases</name>
		<url>http://18.235.233.115:8081/repository/devopsschool-hosted/</url>
	</snapshotRepository>
</distributionManagement>

Step 2 - Access of nexus must be in setting.xml



How to Download java package using Maven?

<blockquote class="wp-embedded-content" data-secret="0W7K2EPbNK"><a href="https://www.devopsschool.com/blog/how-to-configure-sonatype-nexus-repository-with-maven/">How to configure Sonatype Nexus repository to download maven dependency?</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; visibility: hidden;" title="“How to configure Sonatype Nexus repository to download maven dependency?” — DevOpsSchool.com" src="https://www.devopsschool.com/blog/how-to-configure-sonatype-nexus-repository-with-maven/embed/#?secret=2ZQ1AVxMCq#?secret=0W7K2EPbNK" data-secret="0W7K2EPbNK" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
---------------------------------------
chat	====> Nexus

mail  =====> Download chat Package


mvn ---> pom.xml ----> Local Repo 				--> Central repo
			C:\Users\Rajesh Kumar\.m2\repository	https://repo.maven.apache.org/maven2/

mvn ---> pom.xml ----> Local Repo 				--> nexus
			C:\Users\Rajesh Kumar\.m2\repository	



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


How to Upload Docker image using Docker?


How to Download Docker image using Docker?

Code language: JavaScript (javascript)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.