I am building a project on Bamboo with remote agent, during the deployment it is installing artifact to C:\Users\k\.m2\repository and getting following error
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project sampleproject: Failed to retrieve remote metadata com.myproject:sampleproject:1.0.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata com.myproject:sampleproject:1.0.0-SNAPSHOT/maven-metadata.xml from/to snapshots <https://mycompany.artifactory.com/artifactory/MuleSoft) mycompany.artifactory.com Unknown host
User k is not accessible to artifactory need to change the install path from C:\Users\K\.m2\repository to E:\Tools\.m2\repository
How can I change the path?
TIA
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.