Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

🚗 You set the rental price
🔐 Secure bookings with verified renters
📍 Track your vehicle with GPS integration
💰 Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

How to upload the artifacts in Sonatype Nexus using Maven

artifacts-in-sonatype-nexus

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=falseCode language: JavaScript (javascript)

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 deployCode language: PHP (php)
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
trackback
Nexus Upload Artifact? Top Answer Update - Budget-template.com
3 years ago

[…] + Read More Here […]

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

1
0
Would love your thoughts, please comment.x
()
x