Currently I am using bamboo for maven builds. Artifactory is being used for artifact deployment. During initial bamboo setup, artifactory admin user and password got configured in maven settings.xml. Due to admin privileges, bamboo plan everytime overwrites artifact at the time of deployment. I would like to stop this artifact overwrite behavior.
I would like to:
- Replace admin account in settings.xml with another account which will have only artifact upload access in Artifactory.
- Teams will use their own generic ID in bamboo plans for uploading artifacts to Artifactory.
Is there any other standard solution to fix this overwrite problem.? I am not sure how teams will be able to pass their artifactory generic id and password for maven build in bamboo. And is this industry used approach while dealing with maven builds for multiple teams in Bamboo/Jenkins.?
Thanks, Pushpraj