Disclaimer: The best-practice for most end-users is to place the credentials in the settings.xml
, and you should not attempt what is asked below unless you really know what you're doing.
I am using the Kuali S3 Maven Wagon for private repositories. I have an automation scenario where I need to place project-specific AWS credentials inside of the pom.xml
associated with each project, instead of a global settings.xml
on each build environment. For security reasons, we do not issue global credentials to each build environment, instead, more limited credentials are issued to each project granting access to only the dependencies they should have access to, and besides, the build environments themselves are throw-away machine instances.
How can I specify AWS credentials inside the pom.xml
, instead of settings.xml
?