mvn -s C:\settings.xml -gs C:\settings.xml clean install
deploying .cloudmanager/maven/settings.xml without secret pipeline variable
hi folks,
i want to know if it is possible to deploy <server> configuration in maven such as id username and pwd using settings.xml defined in our repo at path /.cloudmanager/maven/settings.xml
we want to make the artifacts available to anyone from the remote server without explicitly defining the secret pipeline variable which can then be read by settings.xml defined in the repo.
i am currently defining the below configuration in local settings.xml but want to move it to the cloud repo.
defining a secret pipeline variable will restrict us to first set the env variable in cloud env and then deploy - can't the deployment make sure the below config from settings.xml is merged with the default settings.xml provided by cloud manager??
<server>
<id>test-remote-server</id>
<username>username</username>
<password>password</password>
</server>
let me know if the use case makes sense.
reference url - pwd protected maven repos
@estebanbustamante, @rohan_garg, @arunpatidar, @aanchal-sikka
