Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,477
Community Members
 
Community Events
184
Community Groups

How to change maven build artifact install path

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

1 answer

1 accepted

0 votes
Answer accepted

Actual issue was Build server doesn't know the artifactory host. Added artifactory to build server hosts and it fixed the error.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events