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

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

Sasank Sarma 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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events