The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I configure settings.xml? cp command is not copying my local file to the one in doker

Sasank Sarma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2021

I tried this

 

pipelines:
  default:
    - step:
        script:
          - cp <repo-path>/settings.xml $HOME/.m2/settings.xml
          - mvn clean install

 But is it mandatory that you have to install maven locally and place the settings file there or any location will do?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Justin Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 15, 2021

@Sasank Sarma Have you tried to set an alternate path for the settings?

mvn clean install --settings <repo-path>/settings.xml
TAGS
AUG Leaders

Atlassian Community Events