Documentation PortalBack to Self Assist PortalBack
Documentation Portal
Contents

CloudOne JFrog Artifactory: Maven "Set Me Up" Locally Using Setting.xml - V 1

JFrog Artifactory: Maven "Set Me Up" Locally Using Setting.xml

Issue

The CloudOne Devops users may report Authentication issues with incorrect Username & Password error, while running the Maven build locally after downloading the Maven repository from JFrog Artifactory (https://repo.east1.ncloud.netapp.com/).

This article helps in downloading the Maven repository with API key using Set Me Up option from the JFrog Artifactory.

Resolution

Generate API key for your User account/Profile by following the below steps:

  1. Login to JFrog Artifactory Portal(https://repo.east1.ncloud.netapp.com/). Click User Profile & select Edit Profile option

edit-profile

  1. Key-in your password and click Unlock.

password-unlock

  1. Under Authentication Settings verify if you have already generated the API key. If NOT you will find the option to Generate API Key as shown below.

generate-API

  1. To Generate API Key, click Generate API Key. Upon successful generating of the API key you will be notified with the message.

successfully-GeneratedAPI

  1. Click Save.

Proceed with generating the new Settings.xml file from the appropriate Maven repository.

  1. Then user can navigate to the required Maven repository and then click Set Me Up.

setme-up

  1. Enter the Password and click the Right arrow key.

password-enter

  1. Click Generate Maven Settings.

genearte-setting

  1. Click Generate Settings. Then you will find the Download Snippet option to download the Settings.xml file.

download-file

  1. Trying running the build locally using the downloaded Setting.xml and verify. Now there shouldn’t be any Authentication Error.